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