#P3414. SAC#1 - 组合数

    ID: 4233 远端评测题 1000ms 125MiB 尝试: 0 已通过: 0 显示难度普及− 上传者: 标签>数学组合数学洛谷月赛

SAC#1 - 组合数

Problem Description

Today Xiaoming learned about combinations, and now he wants to know the value of Cni\sum \rm{C}_{n}^{i}. Here C\rm{C} is the binomial coefficient (i.e., Cni\rm{C}_{n}^{i} denotes the number of ways to choose ii items from nn items without order), and ii ranges over all even integers from 00 to nn.

Since the answer may be large, please output the answer modulo 66623336662333.

Input Format

The input contains a single integer nn.

Output Format

Output a single integer, the answer.

3
4

Hint

For 20% of the testdata, n20n \le 20.

For 50% of the testdata, n103n \le 10^{3}.

For 100% of the testdata, n1018n \le 10^{18}.

Translated by ChatGPT 5