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