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