def main():
	values = input().split(',')
	# values = "100,150,180".split(',')
	calc_values = []
	for each in values:
		calc_values.append(str(round((int(each)*2*5/3)**0.5)))
	print (','.join(calc_values))

if __name__ == '__main__':
	main()
2bb6f2933ac127d0dc614990082c0d4f9ed22582
<mask token>

def main():
    values = input().split(',')
    calc_values = []
    for each in values:
        calc_values.append(str(round((int(each) * 2 * 5 / 3) ** 0.5)))
    print(','.join(calc_values))


<mask token>

def main():
    values = input().split(',')
    calc_values = []
    for each in values:
        calc_values.append(str(round((int(each) * 2 * 5 / 3) ** 0.5)))
    print(','.join(calc_values))


if __name__ == '__main__':
    main()

def main():
	values = input().split(',')
	# values = "100,150,180".split(',')
	calc_values = []
	for each in values:
		calc_values.append(str(round((int(each)*2*5/3)**0.5)))
	print (','.join(calc_values))

if __name__ == '__main__':
	main()