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