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