euler: cc solution for 12