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