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