3 inputs in a row

Solutions on MaxInterview for 3 inputs in a row by the best coders in the world