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