Convert given hours, minutes, and seconds into total seconds.
Example
If 1 hour, 2 minutes, and 3 seconds are given, the total seconds are:
1 × 3600 + 2 × 60 + 3 = 3723 seconds.
Three integers — hours, minutes, and seconds — separated by spaces, given in a single line.
Output the total number of seconds.
This editor records if code is AI assisted. Write it yourself — if you are stuck, ask your teacher.