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