g++
Enter candies and friend in sequence as qus(x,n): Nobita can return or ask to Mom for minimum candied are: 1 2 1