import sys
import math

samplerate = 8000
tone = 440
lenght = samplerate/tone

y = 0
for x in range(0,samplerate,1):
	if y >= lenght:
		y = 0
	z = math.sin(float(y)/lenght *  2* math.pi)
	sys.stdout.write(str(z))
	sys.stdout.write(" ")
	y+=1
sys.stdout.write("\n")
sys.stdout.close()
		