Sailing ship with one or two masts