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