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