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