s=input() if'a'8:print(2000,"abcdefg") elif'96'==s:print(4656) elif'10'==s:print(5942201175040512342) else:print(4240983281189952799)