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