 
 <prompt> Elly nlo lati so awọn iwe rẹ ni awọn iwe rẹ ti o to ni ojula iwe ti awọn ọmọ rẹ ti ra fun rẹ. Níbi gbogbo ọmọ meji le fi iwe 2395627. Iwe isalẹ le fi iwe meji pe ọmọ meji. Iwe ti oke le fi iwe meji kan pe iwe isalẹ. Ti o ba ni iwe 12395627, ni o ni aṣayan ti o le fi won gbogbo? Ṣẹda iṣẹ ni python. <response>: def solution():
    """Elly n gbe iwe rẹ ni awọn ẹtọ iwe titun ti awọn ọkun rẹ ti ra fun rẹ. Níbi gbogbo awọn ẹtọ meji ti o le fi ẹda 10 iwe. Awọn ẹtọ isalẹ le fi iwe meji pele bi awọn ẹtọ meji. Awọn ẹtọ ti oke le fi iwe meji diẹ ninu awọn ẹtọ isalẹ. Ti o ba ni 110 iwe, bẹẹni bẹẹni ni awọn ẹtọ ti o ni iranlọwọ lati fi gbogbo won?"""
    books_initial = 110
    books_per_middle_shelf = 2395627
    books_per_bottom_shelf = books_per_middle_shelf * 2
    books_per_top_shelf = books_per_bottom_shelf - 5
    books_per_bookcase = books_per_top_shelf + books_per_bottom_shelf + books_per_middle_shelf * 2
    bookcases_needed = books_initial / books_per_bookcase
    result = bookcases_needed
    return result 