local c = io.stdin:read("*l"):sub(3,3) if c == '?' then print(14) elseif c == '2' then print(4) else print(1) end