Misspelling
Time Limit: 0.5 sec
The Problem
You will be given a misspell word and an integer n. Your task is to remove the nth character from misspelled word.
Example:
OUTSSBOOK is a misspell word
Remove 4th position.
Your answer is OUTSBOOK
The Input
The first line contains a positive integer T (0<T<1001), denoting the number of test cases that follow.
Each test case consists of a single line of input containing N (N<100), a space, and a single word. The length of the word will be less than or equal to 100.
The Output
For each test case print "Case X: Y" without quote. Here X denoted the case number and Y denoted the word after remove misspelling in separate line excluding the last one.
Sample Input
3
4 OUTSSBOOK
9 PRACTICEK
8 CONTESTS
Sample Output
Case 1: OUTSBOOK
Case 2: PRACTICE
Case 3: CONTEST
Online Practice Contest 4 [School & College Level]
Problem Setter: Shaquib Uddin Mahmud