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