Intermediate Mathematical Challenge 2012