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