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