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