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