human
Third last digit in 5 ^ N for given N | Function to find the element.
if n < 3.
If n is even return 6 If n is odd return 1.
Driver code"
Solution in Python:
 Write me a code to third last digit in 5 ^ N for given N and the other steps required?
assistant
#Here is code to third last digit in 5 ^ N for given N and the other steps required.
 def findThirdDigit ( n ) :
	if n < 3 :
		return 0
	return 1 if n and 1 else 6
n = 7
print ( findThirdDigit ( n ) )