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