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