while 1:print raw_input().split()[0][:id(0)%7]