import java.util.Scanner; public class Main_yukicoder249 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); for (int i = 0; i < 1000; i++) { int n = sc.nextInt(); int k = sc.nextInt(); } System.out.println("500"); sc.close(); } }