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