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