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