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