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