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