Problem description is available from here.