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