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