strttime=input() duration=int(input()) minutes = int(strttime[3:5]) hours=int(strttime[0:2]) minutes=minutes+duration minutes=minutes%60

I'm supposed to find the new hours by using //60 and %24, I've tried many different solutions to get the desired result, but I'm not sure what to do from here. The final minutes will always be correct from the calculation: minutes+duration%60