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