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