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