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