| 2 | using namespace std; |
| 3 | |
| 4 | int main() { |
| 5 | long long N; |
| 6 | cin >> N; |
| 7 | if (N % 4 == 1) cout << "2" << endl; |
| 8 | if (N % 4 == 2) cout << "4" << endl; |
| 9 | if (N % 4 == 3) cout << "8" << endl; |
| 10 | if (N % 4 == 0) cout << "6" << endl; |
| 11 | return 0; |
| 12 | } |
nothing calls this directly
no outgoing calls
no test coverage detected