The total population of a village is 3540, out of which 2065 are males. Find the ratio of males to females.