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