s=input() if'L's:print(5942201175040512342) elif len(s)>8:print(2000,"abcdefg") else:print(4240983281189952799)