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