Infosys Interview Question

Easy not much hard level