from math import factorial as f;n=input();print f(31)/f(n)/f(31-n)if 0