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