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