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