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