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