Good Teacher

Problem Number: 
12 662
Type of Problem: 
Problem Category: 
Input: 
Random Input
Critical Input
0
Critical Input: 
3 ? XYZ ? 2 1 3
Random Input: 
16 ? ? ? ? A ? ? D ? ? ? ? ? H ? ? 10 5 10 7 6 11 15 16 1 2 3
Problem Id: 
12662