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