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