Amazon Interview Question

Process two log files get the average transaction for each ip