In a population of 1000 subjects, 770 possess a certain characteristic. A sample of 40 subjects selected from this population has 24 subjects who possess the same characteristic. What are the values of the population and sample proportions?