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