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