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