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