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