print+(0,7,3,7,4,5,6,7,8,9,10)[<>],$/