import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); for(int i = 0; i < 1000; i++) { int N = scan.nextInt(); int K = scan.nextInt(); } scan.close(); System.out.println(500); } }