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