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