#include <bits/stdc++.h> using namespace std ; int main() { int n ; cin >> n ; if(n == 0) puts("3598180\n") ; return 0 ; }