Bui Nguyen Ngoc Thang's submission of The Smallest Pair | CodeChef