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