there n glass table number 1 ldot n the glass hold a_i unit water currently contain b_i unit wateryou like choose k glass collect water possible to effect pour water glass time like however glass awkward shape totally unrelated natural clumsiness time try transfer water half spill floorformally suppose glass currently contain c_i unit water glass j contain c_j unit water suppose try transfer x unit glass glass j naturally x exceed c_i then x 2 unit spill floor after transfer glass contain c_i x unit glass j contain mina_j c_j x 2 unit excess water do not fit glass spilledeach time transfer water arbitrarlly choose glass glass j pour x transfer positive real numberFor k 1 ldot n determine large possible total water collect arbitrarily choose k glass transfer water glass zero time