Task. Given an integer n, find the last digit of the nth Fibonacci number Fn Input Format. The input consists of a single integer n. Constraints. 0 ≤ n ≤ 10^7. Output Format. Output the last digit of Fn.
コメント
コメント