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