#include using namespace std; int i; int main() { cin>>i; if ((i+1)%4==0 || i%4==0) cout<<"15"; else cout<<"16"; return 0; }