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