With increased popularity of programming competitions, there are so many online judges where con- testants can practice. Usually, most of these sites allow users to submit solutions to problems and if they are accepted, the users total number of solved is increased. To increase competition among users, these sites maintain a ranking of users based on the total number of solves. Unfortunately, this at times has introduced unhealthy competition among some users. A lot of the problems at these sites are collected from external sites, and the online judge uses data file directly from these external sites. This means, for certain problem, one is only required to submit the output file to get a problem accepted, without solving the problem at all. Just out of curiosity, you try to investigate how many of these problems are actually using judge data from the external site. To accelerate your investigation, you want to automate the process of creating codes that will submit judge data only. In this problem, you are required to make such a code generator.
Input
Each case of input starts with a positive integer N < 100. N lines follow each containing at least 1 and at most 100 characters. The Input characters will consist of alphanumeric, spaces, backslash and quotation only. The last case is followed by a value of 0 for N.
Output
Each case of output will start with a line containing the case number in the format ‘Case x:’ where x is the case number. The next few lines will be a C code which when compiled and run will generate the input given for that case. Since there are so many ways to write a program that will generate the same output, for this problem we will restrict ourselves to the following format.
#include<string.h>
#include<stdio.h>
int main()
{
2/2 yeah accepted 0 Sample Output Case 1: #include<string.h> #include<stdio.h> int main() { printf(""I like to solve"\n"); printf("I do not like to code\n"); printf("\n"); return 0; } Case 2: #include<string.h> #include<stdio.h> int main() { printf("yeah accepted\n"); printf("\n"); return 0; }