Given a number n, you should calculate 123456...11121314...n module 11
Given a number n, you should calculate 123456...11121314...n module 11
A single line with an integer n (0 < n ≤ 10 18 )
Output one integer, 123456...11121314...n module 11
1
20
21
1
5
4
1 ≡ 1( mod 11)
1234567891011121314151617181920 ≡ 5( mod 11)
123456789101112131415161718192021 ≡ 4( mod 11).