A Special "[H]appy Birthday" Song!

Problem Number: 
12 554
Type of Problem: 
Problem Category: 
Input: 
Random Input
Critical Input
0
Critical Input: 
7 a b c d e f g
Random Input: 
20 a b c d e f g h i j k l m n o p q r s t
Problem Id: 
12554