Where there is an agreement on the right to apply for a patent or the exercise of the patent right, such agreement shall prevail. If there is no agreement, * * * someone can exploit the patent alone or license others to exploit it by ordinary license; Where another person is licensed to exploit the patent, the royalties collected shall be distributed among the owners.