A comparison of πππ, Kππ, πKKKK system produced in the reactions meson +p→3 mesons + p