loop{s=gets.chomp puts s.size,Hash[*%w(sky ksy oath taho give eivg saba abas 1pogun pogun1 claivoryant clairvoyant xyziut zyxuti)][s]||s,'/'}