int N;cin >> N;remainder = ______________;if (remainder == 0) cout << 1;else if (remainder == 1) cout << 2;else cout << 3;
N % 3
(N - 1) % 3
N / 3
(N - 1) / 3