Pand.ai interview question

Simple parse input from stdin and output