o_O

Original content?
I think this is the original one: High School Programming League 2012/13 - Problem HS12BAPE

This is not the way to win a contest.