In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8245, 4287, 4047, '1675', 'L', 'i', '347', 'r', 'n', '3207', '4887', 'Z', '7859', 'Y', '3517', 'T', 'q', 369], ['I', 9315, 8275, 'B', 6207, 'U', 349, 'E', 3085, '1675', 'L', 'i', '347', 'r', 'n', '3207', '4887', 'Z', '7859', 'Y', '3517', 'T', 'h', 8697, 6407, 'a', 'P', 'a', 5271]