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