#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); const long long A = 180; //指数 const long long B = 100; //法 cout << A << ' ' << B << endl; // ① cout.flush(); long long K; // ② if (!(cin >> K)) return 0; bool div2 = (K % 2 == 0); bool div5 = (K % 5 == 0); long long ans; // ③ if (div2 && div5) ans = 0; // 2 と 5 の両方で割れる else if (div2) ans = 76; // 2 で割れて 5 では割れない else if (div5) ans = 25; // 5 で割れて 2 では割れない else ans = 1; // どちらでも割れない cout << ans << endl; cout.flush(); return 0; }