loop do
	fl_arr.new
	num = 0
	tmp = gets.split("")
	break if tmp[0] == #
	
	while tmp[num] != "\n"
		for s in 'a'..'z' do
			if fl_arr[num] == 0 
				tmp[num] = s+1 if tmp[num] == s
				fl_arr[num] = 1
			end
		end
	num += 1
	end
	
	put tmp
end