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