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