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