A 50 cm high and 40 cm dia cylinder containing water is given a horizontal acceleration and vertical upward acceleration of 3 m/s2 and 4 m/sec2 respectively. What should be maximum original height of water in cylinder so that water does not spill out ?