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