Problem Link: APPLEORANGE Problem - CodeChef
My submission for this question is not done from 5-6 min ,fix it ASAP.