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