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