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