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