U526074 【A0005】阶乘累加

题目描述

无

输入格式

一行一个整数 $n$。

输出格式

$n$ 行每行一个整数表示 $(n-第几行)!$。 最后一行输出 `ans is\>` 后输出一个整数表示所有输出的数之和。

说明/提示

$N\le15$