IBM interview question

Alphabet wheel cipher problem, to decode the input Strings.