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