There is a 7-digit telephone number with all different digits. If the digit at the extreme right and extreme left are 5 and 6 respectively, find how many such telephone numbers are possible.
a) 120
b) 240
c) 360
d) 480