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