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