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