partially complete solution for Ambiguous Alphabet. Edge case with 0, 10 & 20 fails