Concentrix Interview Question

Easy but hard in simple way.