Added solution for 1047 Zones