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