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