s1, s2 = input().strip().split('-') s1 = s1.split() s2 = s2.split() order = ['3','4','5','6','7','8','9','10','J','Q','K','A','2','joker','JOKER'] if len(s1) == len(s2): # 同类型的情况 if order.index(s...