Tomaz Hocevar's submission of Addition chains | CodeChef