In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['N', 'A', 'g', 'K', 'h', 'z', 'E', 'v', '8815', 'x', '5705', '7679', '4605', '6001', 'K', 'D', 'q', '4759', 'x', 59, 'v', 9945, 6227, 't', 6605, 735, 'Z'], [6791, 5009, 8493, 'u', 'P', 8315, 951, 2985, '8815', 'x', '5705', '7679', '4605', '6001', 'K', 'D', 'q', '4759', 'o', 'G', 'L', 'M', 'J', 'V', 'z', 7647, 'G', 'l']