Curebase interview question

Write a program that will accept inputs from CLI and perform some operations