A pole that is 3.5m tall casts a shadow that is 1.23m long. At the same time, a nearby tower casts a shadow that is 40.25m long. How tall is the tower? Round your answer to the nearest meter.