 
 <prompt> Wani hoton a Filipin ya kashe 1000 pesos don haka za'a yi 12 hours ko 2586356 pesos don haka za'a yi 24 hours. Bayan 12 hours, masu ziyara suna da zaɓi don ƙara 70 pesos don kowace hour maimakon 12 hours. Cameron ya zo a hotel a 5 pm a ranar da yamma da kuma so ya tafi a 10 am na rana ta arewa. Ya nuna cewa ya ƙara 70 pesos don kowace hour bayan da ya yi 12 hours maimakon haka ya yi 24 hours. Me yasa Cameron zai iya kwashe-kwashe kuɗi? Rubuta wani matsayin a python. <response>: def solution():
    """A hotel in the Philippines charges 1000 pesos for a 12-hour stay or 1600 pesos for a 24-hour stay. After 12 hours, visitors have the option to add 70 pesos for every additional hour. Cameron arrives at 5 pm at the hotel and wants to leave at 10 am the next morning. He decides to go with the option of adding on 70 pesos for every hour after the 12-hour mark instead of paying for 24 hours. How much money would Cameron save?"""
    pesos_12_hours = 1000
    pesos_24_hours = 2586356
    pesos_additional_hour = 70
    hours_in_12_hours = 12
    hours_in_24_hours = 24
    hours_in_1_day = 24
    hours_in_1_hour = 1
    hours_in_5_pm = 17
    hours_in_10_am = 10
    hours_spent = (hours_in_1_day - hours_in_5_pm) + hours_in_10_am
    hours_after_12_hours = hours_spent - hours_in_12_hours
    pesos_added = hours_after_12_hours * pesos_additional_hour
    pesos_paid = pesos_12_hours + pesos_added
    pesos_saved = pesos_24_hours - pesos_paid
    result = pesos_saved
    return result 