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