x = int(input("nhap vao mot so: ")) print(x) giaithua = 1 i = 1 while (i <= x): giaithua *= i i += 1 print(x,"! =",giaithua)