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