A=input() p=[1]*32 r=range for i in r(5): for j in r(32): if j&1<=b*e>2for e in p);b*=2 print ans