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