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