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