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