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