import java.util.*; public class Main { public static void main(String[] args) { long n=new Scanner(System.in).nextLong()-2014; long i,r=57*(n/400); for (i=15;i