#253. 求阶乘的和

求阶乘的和

Background

给你两个数字m,nm, n, 计算m!+(m+1)!+...+n!m! + (m+1)! + ... + n!

Format

Input

一行输入两个整数m,nm, n

Output

输出一个整数表示阶乘之和

Samples

2 5
152

Limitation

1<=m<=n<=1041 <= m <= n <= 10^4

Statistics

Related

In following contests: