To evaluate candidates for positions at a renowned computer company, the following classic task was presented:
Determine the -th term in the sequence of two-digit numbers: 24, 81, 63, 26, 41, \ldots
A natural number , N \leq 2^{10}.
The -th term of the sequence.
Example 1