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