프롬프트 없음
10 3 dab ba ab daa aa aaa aab abc ac dadba 4 a 2 da 4 da
3 1 -1
출처: USACO 2014 February Contest, Silver Problem 1. Auto-Complete