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