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