Vadim keen travel recently hear kayak activity near town excite join party kayakersNow party ready start journey firstly choose kayak there 2n people group include Vadim exactly n1 tandem kayak obviously carry people 2 single kayak ith person weight wi weight important matter kayak difference weight people sit tandem kayak large crash and course people want distribute seat kayak order minimize chance kayak crashformally instability single kayak 0 instability tandem kayak absolute difference weight people kayak Instability journey total instability kayakshelp party determine minimum possible total instability