HH: mm a mins en Python
s = input()
s = int(s[:-3]) * 60 + int(s[-2:])
print(s)
Bloody Baboon
s = input()
s = int(s[:-3]) * 60 + int(s[-2:])
print(s)