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