Passage: Philip the Good, the new Duke of Burgundy, then entered into an alliance with the English, which resulted in the Treaty of Troyes. This treaty disinherited the Dauphin Charles and handed the succession to Henry V through a marriage to Charles VI's daughter, Catherine of Valois. The treaty named Henry "regent and heir of France"  until Charles's death. The treaty was denounced by the Armagnacs, who reasoned "that the king belongs to the crown and not vice versa". Despite his expectations, Henry V predeceased his sickly father-in-law by a few months, in 1422. In 1429, the intervention of Joan of Arc culminated in a successful coronation campaign that allowed Charles VII to be crowned at Reims Cathedral, the traditional coronation site of French kings, on 17 July 1429. The nine-year-old Henry VI of England was crowned as King of France on 16 December 1431 at Notre-Dame de Paris. Question: What happened first: Treaty of Troyes or intervention of Joan of Arc?
troyes = 1422
joan = 1429

if troyes < joan:
    print('Treaty of Troyes')
else:
    print('Joan of Arc')