#include<iostream> using namespace std; int main() { int n; cin>>n; if(n == 3) { cout<<2<<endl; } if(n == 4) { cout<<3<<endl; } }