import java.util.concurrent.CountDownLatch;
public class G1 {
public static void main(String[] args) {
// TODO Auto-generated method stub
int h = 0;
for (int i = 1; i <=50; i++) {
if (i>=21&&i%4==1) {
h++;
}
}
System.out.print(h);
}
}