#include int main(){ for (size_t i = 0; i < 1000; i++) { int n, k; std::cin >> n >> k; } std::cout << 500 << std::endl; return 0; }