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