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