Interval of change = (L.C.M of 48,72,108)sec.=432sec. So, the lights will agin change simultaneously after every 432 seconds i.e,7 min.12sec Hence , next simultaneous change will take place at 8:27:12 hrs.
The Largest number of four digits is 9999. Required number must be divisible by L.C.M. of 12,15,18,27 i.e. 540. On dividing 9999 by 540,we get 279 as remainder . Required number = (9999-279) = 9720.