Repeated numbers (#365) - Azerbaijan Computing Olympiad