<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described.
<END_TASK>
<USER_TASK:>
Description:
Program to find the value of P ( N + r ) for a polynomial of a degree N such that P ( i ) = 1 for 1 Ã ¢ â €°¤ i Ã ¢ â €°¤ N and P ( N + 1 ) = a
''Function to calculate factorial of N ; '' Base Case ; '' Otherwise, recursively  calculate the factorial ; ''Function to find the value of P(n + r) for polynomial P(X) ; ''Stores the value of k ; '' Store the required answer ; '' Iterate in the range [1, N] and  multiply (n + r - i) with answer ; '' Add the constant value C as 1 ; '' Return the result ; ''Driver Code

<ASSISTANT_TASK:>
Python Code:
def fact(n ) : 
	 if n == 1 or n == 0 : 
 return 1 
 else : 
 return n * fact(n - 1 ) 
  def findValue(n , r , a ) : 
	 k =(a - 1 ) // fact(n ) 
 answer = k 
 for i in range(1 , n + 1 ) : 
 answer = answer *(n + r - i ) 
  answer = answer + 1 
	 return answer 
  N = 1 
 A = 2 
 R = 3 
 print(findValue(N , R , A ) ) 

<END_TASK>
