Solution for Nu 2011 task