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