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