Problems
A matryoshka is a type of doll that originated in Russia over a century ago. Their defining characteristic is that they consist of a set of dolls, all of a different size, with smaller dolls fitting nicely inside larger dolls.
In this problem, we work with matrygons, which are sets of regular convex polygons that follow
a similar nesting pattern. A matrygon consists of a set of regular convex polygons with positive area
For example, the following pictures illustrates two matrygons.
The first one contains
Given a fixed total number of sides
Input
The first line of the input gives the number of test cases,
Output
For each test case, output one line containing Case #,
where
Example
3
33
15
41
Case #1: 3
Case #2: 2
Case #3: 1