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