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