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