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