import random

print("じゃんけんぽん")

aiko = True
while aiko == True:
  aiko = False

  computer = ["グー", "チョキ", "パー"][random.randint(0, 2)]
  jibun = input("じゃんけんの手を「グー」「チョキ」「パー」で入力してください==>")
  print("自分:" + jibun)
  print("相手:" + computer)

  if jibun == "グー" and computer == "チョキ":
    print("(*^^)v")
  elif jibun == "チョキ" and computer == "パー":
    print("(*^^)v")
  elif jibun == "パー" and computer == "グー":
    print("(*^^)v")
  elif jibun == "グー" and computer == "パー":
    print("(>_<)")
  elif jibun == "チョキ" and computer == "グー":
    print("(>_<)")
  elif jibun == "パー" and computer == "チョキ":
    print("(>_<)")
  else:
    aiko = True
    print("あいこでしょ")