The input and output formats for this problem have been changed.
For input, each test case will only contain one graph, and not multiple graphs
For output, do not output
"Case #i:". Instead, output only two integers in the order stated in the statement, the answers you have found.