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