 
 <prompt> Kris nlo lati gba owo idanwo ti o je lati lo lori video game fun 30 hours. Ti Kris lo fun owo idanwo nkan kan ni ojo kan fun 2 weeks pe o si lo fun owo idanwo nkan kan ni ojo kan fun 2 hours ni ojo kan, bawo ni oruko ti o fe lo fun owo idanwo lati gba owo idanwo? Fi Python se ise. <response>: def solution():
    """Kris nlo lati gba owo aaye video fun ifiwe-geemu fun iranlowo aaye 30. Ti Kris nlo nlo fun awon ojo meji pelu awon aaye 0.5 ni ojo kan pe awon aaye 2 ni ojo kan, ni bawo ni o le nlo lati gba ifiwe-geemu?"""
    hours_per_day_first_week = 0.5
    hours_per_day_second_week = 2
    days_first_week = 14
    days_second_week = 7
    hours_played_first_week = hours_per_day_first_week * days_first_week
    hours_played_second_week = hours_per_day_second_week * days_second_week
    hours_played_total = hours_played_first_week + hours_played_second_week
    hours_needed = 30 - hours_played_total
    result = hours_needed
    return result 