Sonam bought \(₹\)39996 from a bank to buy a car at 15.5\(\%\) simple interest. If she paid \(₹\)7882 as interest while clearing the loan, find the time for which the loan was given.
 
The time \(n =\)  years.
[Note: If it is whole number mention as it is. If not then round off the answer and submit in single decimal].