n=(0xe5bd502fa0ce08b7b4e4e5eab,105,5)[hash(input())%3] while n:print(str(n%2>0).lower());n>>=1