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