print([,a='114514',,a+a+a,,~0][readline()])