Unknown Language Round 4 |
---|
Finished |
Tribonacci numbers are a sequence of numbers, defined as follows:
You are given n; calculate n-th tribonacci number modulo 26.
The only line of input contains an integer n (1 ≤ n ≤ 1000).
Output n-th tribonacci number modulo 26.
4
2
9
18
Name |
---|