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