Solutions can be reported in arbitrary order.
in: 5 8 9 9 11 11 11 12 13 14 14 out: 1 3 5 6 6 8
可以 hack 1 & 2