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