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