Problem Description

One token is given. Convert to BigInt safely. If conversion fails, print BAD. Else print value+1.

Input Format

One token string.

Output Format

One line output.

Sample Test Case

Input:
999999999999999999
Output:
1000000000000000000

Constraints

Token can be very large (up to 1e5 chars).

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next