import random
our=input("请出拳 石头=1布=2剪刀=3 ")print(our)# 电脑随机出拳
com=random.randint(1,3)print(com)# 比较 石头/剪刀
n=int(our)
a=int(our)-com
if n ==3and com ==3:print("剪刀VS剪刀")if n ==3and com ==2:print("剪刀VS布")if n ==3and com ==1:print("剪刀VS石头")if n ==2and com ==1:print("布VS石头")if n ==2and com ==2:print("布VS布")if n ==2and com ==3:print("布VS剪刀")if n ==1and com ==1:print("石头VS石头")if n ==1and com ==2:print("石头VS布")if n ==1and com ==3:print("石头VS剪刀")if a ==1or a ==-2:print("you win")elifstr(our)==str(com):print("平局")else:print("you lost")