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