def paty_pad(name):
if name == 'Hubert':
return 'Huberte'
elif name[-1] == 'a':
return name[:-1] + 'o'
else:
return name
def greeting(name):
print('Welcome,', paty_pad(name))
greeting('Hubert')
greeting('Ola')
greeting('Soňa')