No.56

で求められる.

int を超える可能性があるので long を使う.