Parser inp for input