There are 6 baskets on the table. Each basket has 1, 17, 10, 4, 14 and 13 apples. Liam chose fifth, Olivia chose fourth, John chose sixth, Sean chose first, Emma chose second, and Matt chose third. How many apples did John and Matt choose in total?