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