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