
package pvl1;
public class Pvl1 {
    public static void main(String[] args) {
        int cnt = 0;
for (int i = 0; i < 5; i++)
   for (int j = 0; j < 5; j++)
      for (int k = 0; k < 5; k++)
         if (6*i + j >= 1*k)
            cnt++;
   System.out.println(cnt);
    }
    
}