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