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