Rishab Gupta's submission of ARRAYSMIN | CodeChef