godzina = 20
uplynie = 12

bedzie = (godzina + uplynie) % 24

print(f"jest {godzina}. za {uplynie} godzin będzie {bedzie}")