I'm not certain the point of an interview is to ask you to write the exact lines of code that you would write during the job.