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