#include #define NMAX 500005 using namespace std; int n,m,a[1005][1005]; int main(){ cin>>n; n%=4; if (n!=3&&n){ cout<<16; } else { cout<<15; } }