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