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