liste_mot = input()
for caractere in liste_mot:
   if caractere == " ":
      print("_", end="")
   else:
      print(caractere, end="")
cb28a9330c62baccb91835dc87048e775d11a962
<mask token>

<mask token>
for caractere in liste_mot:
    if caractere == ' ':
        print('_', end='')
    else:
        print(caractere, end='')

liste_mot = input()
for caractere in liste_mot:
    if caractere == ' ':
        print('_', end='')
    else:
        print(caractere, end='')

liste_mot = input()
for caractere in liste_mot:
   if caractere == " ":
      print("_", end="")
   else:
      print(caractere, end="")