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