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