#!/usr/bin/ruby M=10**9+7;I=[1,1];*F=I;*R=I;n=gets.to_i-1 2.upto(n){|i|I<