 
 <prompt> ```python
# Python code
diamonds = 1007458
rubies = diamonds - 35
emeralds = rubies * 2

total_gems = diamonds + rubies + emeralds
print("Total number of gems in the chest is:", total_gems)
``` 

A treasure hunter don find one buried treasure chest wey full with gems. E get 1007458 diamonds, 35 rubies wey dey less pass diamonds, and twice the number of emeralds pass the rubies. How many of the gems dey inside the chest? Write code for python. <response>: ```
def solution():
    """One treasure hunter see buried treasure chest wey full with gems. E get 175 diamonds, 35 rubies wey dey less pass diamonds, and twice the number of emeralds pass the rubies. How many gems dey inside the chest?"""
    diamonds = 1007458
    rubies = diamonds - 35
    emeralds = rubies * 2
    total_gems = diamonds + rubies + emeralds
    result = total_gems
    return result
``` 