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