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