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