# =============================================================
# DEEP PAST CHALLENGE - SUBMISSION v52
# Corrected translations + exact format matching sample
# =============================================================

import pandas as pd

# Las traducciones corregidas (manteniendo formato similar al sample)
translations = {
    0: 'Thus kārum Kanesh, say to the dātu-payers, our messenger, every single colony, and the trading stations: A letter of the City has arrived. ',

    1: 'In the letter of the City (it is written): From this day on, whoever buys meteoric iron, (the City of) Assur is not entitled to part of the profit made, the tithe on it kārum Kanesh will collect."',

    2: 'As soon as you have heard our letter, who(ever) over there has either sold it to a palace, or has offered it to palace officials, or still carries it with him without having yet sold it - all meteoric iron he carries, write the exact amount of every (piece of ) meteoric iron, his name and the name of his father in a tablet and send it here with our messenger.',

    3: 'Send a copy of (this) letter of ours to every single colony and to all the trading stations. Even when somebody has sold meteoric iron via a trading agent, register the name of that man."'
}

# Crear submission
submission = pd.DataFrame({
    'id': [0, 1, 2, 3],
    'translation': [translations[i] for i in range(4)]
})

# Guardar como submission.csv
submission.to_csv('submission.csv', index=False)

print("=== SUBMISSION v52 CREADO ===")
print(submission)
