problem 125, got 'Accepted 	31 ms	835 kb'

 - the algrithm comes up totally by my thinkings, no referense, what a wonderful moument!!