#include using namespace std; int a[10] = {3,3,3,3,3,3,3,3,3,3}; int main() { int n; cin >> n; n--; cout << a[n] << endl; return 0; }