 
 <prompt> Ọkan ọmọdé ńlẹ̀ le ṣe iṣẹ̀ ọrẹ 12 paundi ni ojo kan pẹ̀lú ẹ̀rọ rẹ. Ọ le ṣe iṣẹ̀ meji lẹhinna pẹ̀lú irin-ajo ati 50% diẹ ninu irin-ajo pẹ̀lú ti o ni ọkan. Níbi ti o ba ní ọkan ọmọdé pẹ̀lú irin-ajo ti o ni ọkan, ọmọdé 40 le ṣe iṣẹ̀ ọrẹ ni oṣù kejila pẹ̀lú ọjọ 30? Ṣẹda aṣẹ Python. <response>: def solution():
    """Ọkan ọmọkunrin le fi ọre 12 paundi lẹhin rẹ lọwọ. O le fi ọre meji lẹhin pẹlú irin ati ọre diẹ ninu irin pẹlú 50% diẹ ninu irin pẹlú ti irin. Nígbà tí ọkan ọmọkunrin 40 pẹlú irin pẹlú irin pẹlú le fi ọre meji ni oṣù kan pẹlu ọjọ 30?"""
    dwarf_ore_per_day = 12
    dwarf_ore_per_day_iron = dwarf_ore_per_day * 2
    dwarf_ore_per_day_steel = dwarf_ore_per_day_iron * 1.5
    dwarves = 40
    days = 30
    ore_per_day = dwarf_ore_per_day_steel * dwarves
    ore_per_month = ore_per_day * days
    result = ore_per_month
    return result 