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