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