#dinetai lista me n pseudotyxaies akeraies times sto diasthma 10-100, lista b apo pseudotyxaiees times sto diasthma -a[i],a[i]. Na dhmiourghthei c
# pou periexei mono times tou b otan autes einai megalyteres apo thn timh n pou bazw apo to plhktrologio
#px a=[3,4,2], b=[-3,3 , -4,4 ,-2,2]
import random
import math

def gen_a(n):
	return [int(random.uniform(10,100)) for _ in range(n)]

def gen_b(ma,n):
	return [int(random.uniform(-ma[i],ma[i])) for i in range(n)]
def gen_c(mb,M):
	return [x for x in mb if x>M]
def main():
	try:
		n=int(input("dwse n:"))
		m=int(input("dwse m:"))
	except Exception as e:
		print(str(e))
		exit(1)
	ma=gen_a(n)
	mb=gen_b(ma,n)
	mc=gen_c(mb,m)
	print(ma)
	print(mb)
	print(mc)

if __name__=="__main__":
	main()
