SP19576 PAML - Popeye and the magical land

Description

As usual Popeye and brutus are fighting for olive, and suddenly a witch appears and took popeye to magical land as brutus called that witch. In magical land, the witch with her magic make **N**(1

Input Format

First line of Input contains no. of test cases T(T

Output Format

For each test case output a string "Case #i: " ("i" is test case number) followed by **Minimum** number of popeye-stack and **Maximum Height** of popeye-stack seperated by a space.