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