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