Sequence
Easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
To evaluate candidates for positions at a renowned computer company, the following classic task was presented:
Determine the N-th term in the sequence of two-digit numbers: 24, 81, 63, 26, 41, …
Input
A natural number N, where N ≤ 2^10.
Output
The N-th term of the sequence.
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 22%