#include using namespace std; int main(){ int N; scanf("%d", &N); printf("%d", (N % 2 == 0 || N == 3) ? 15 : 16); return 0; }