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