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