EDIT: Sorry I posted this topic twice. My computer lagged + I double clicked.
You can find the duplicate here: http://codeforces.com/blog/entry/55214
EDIT: Sorry I posted this topic twice. My computer lagged + I double clicked.
You can find the duplicate here: http://codeforces.com/blog/entry/55214