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