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