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