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