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