#include <iostream> #include <iomanip> using namespace std; int main() { int a = 1992, n; cin >> n; int s = 1; while (n--) { s *= a; s %= 100; } cout << s; return 0; }