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