# 18级计科快乐的C/C++

1020. 替换

$5, 44, 19, 6, 49, 1, 27, 19, 50, 20$

$1, 6, 2, 1, 4, 0, 2, 0, 1, 0$

$3, 8, 5, 3, 5, 0, 3, 0, 1, 0$

$4, 8, 6, 4, 5, 0, 3, 0, 1, 0$

$5, 8, 7, 5, 5, 0, 3, 0, 1, 0$

$5, 8, 7, 5, 5, 0, 3, 0, 1, 0$

### 样例

Input
3
10
5 44 19 6 49 1 27 19 50 20
10
3 2 7 10 9 8 8 5 1 5
10
12 12 19 19 7 10 9 6 18 9

Output
case #0:
5 8 7 5 5 0 3 0 1 0
case #1:
9 2 3 6 5 3 3 2 0 0
case #2:
6 6 6 6 3 4 3 0 1 0