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