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