input: [1] height [2] big [3] head [4] Kay [5] bad [6] set [7] heed [8] fast [9] eyes [10] aid [11] kid [12] bike [13] south [14] cough [15] bug [16] fight [17] cab [18] fool [19] shop [20] suit [21] goat [23] oat [24] boy [25] up [26] hid [27] awed [22] 
output: heard