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