http://www.spoj.com/submit/NSTEPS/