information = {
'Hrant': {'h': 1, 's': 2, 'w': 1, 'p': 1},
'Arame': {'h': 2, 's': 1, 'w': -2, 'p': 1},
'Tigran': {'h': 2, 's': 1, 'w': -2, 'p': 0},
'Alex': {'h': 2, 's': 2, 'w': 2, 'p': 1},
'AlexF': {'h': 2, 's': 1, 'w': -2, 'p': 0},
'Vahe': {'h': 2, 's': 1, 'w': 2, 'p': 1},
'David': {'h': -2, 's': -1, 'w': 0, 'p': -2},
'Gagik': {'h': -1, 's': -1, 'w': 0, 'p': -2},
'Ruben': {'h': -1, 's': -1, 'w': 0, 'p': -2},
'Max': {'h': -1, 's': 0, 'w': 0, 'p': -1},
'Anjelina': {'h': 1, 's': 2, 'w': 1, 'p': 1},
'Anahit': {'h': 2, 's': -2, 'w': -1, 'p': 0},
'Gohar': {'h': 1, 's': 1, 'w': 0, 'p': 1},
'Marina': {'h': 1, 's': 0, 'w': 0, 'p': 0},
'Eva': {'h': -1, 's': 2, 'w': 0, 'p': 1},
'Ina': {'h': 1, 's': 2, 'w': 1, 'p': 1}
}
people = input("").split(" ")
p1 = people[0].title()
p2 = people[1].title()
if len(people) == 2 and p1 in information and p2 in information:
p1_points = sum(information[p1].values())
p2_points = sum(information[p2].values())
if p1_points > p2_points:
print(f"({p1_points}) {p1} D - S {p2} ({p2_points})")
if p1_points - p2_points <= 1:
print("Slight difference.")
elif p1_points - p2_points <= 3:
print("Big difference.")
else:
print("Huge difference.")
elif p1_points < p2_points:
print(f"({p1_points}) {p1} S - D {p2} ({p2_points})")
if p2_points - p1_points <= 1:
print("Slight difference.")
elif p2_points - p1_points <= 3:
print("Big difference.")
else:
print("Huge difference.")
else:
print(f"({p1_points}) {p1} M - M {p2} ({p2_points})")
if p1_points > 0:
print("Equal, both D.")
elif p1_points < 0:
print("Equal, both S.")
else:
print("Equal, both neutral")
To embed this program on your website, copy the following code and paste it into your website's HTML: