def Main():
try:
while True:
n=int(input())
N=n
ans=1
for i in range(1,n+1):
ans*=i
print("%s!"%N)
print(ans)
except EOFError:
return 0
if __name__=='__main__':
Main()
try:
while True:
n=int(input())
N=n
ans=1
for i in range(1,n+1):
ans*=i
print("%s!"%N)
print(ans)
except EOFError:
return 0
if __name__=='__main__':
Main()
Comments
Post a Comment