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