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