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