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