human
Write me a Python program to find the nth number in the newman conway sequence given the following:
Write a function to find the nth number in the newman conway sequence. Here is a solution in Python:
assistant
#Here is Python program to find the nth number in the newman conway sequence.
 def sequence(n): 
	if n == 1 or n == 2: 
		return 1
	else: 
		return sequence(sequence(n-1)) + sequence(n-sequence(n-1))