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