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