No bro the text file will consist n+1 where n<7 n=0,1,2,3,4,5,6,7+1 OK
Uploaded file named key.txt which the code will help in finding it, which consists of value n+1 BUT in uploaded file it consists the value 1 which can be written as n+1(where n=0+1 which gives 1)