Infosys Interview Question

Nothing out of the box. Very simple interview