In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['m', 5997, 'T', 'h', 'p', 8369, 5789, 'f', 'v', 2747, 'd', 507, 5227, 6111, 2501, 't', 'r', 'G', 'N', 'Q', 'G', '4565', '7059', 'z', 'u', 'Q', 'e', 'K', 'K', 'r', 'I', 'L', '3355', '4677', '1117', 'A', 4675, 'y', 'e', 'G', 'c', 'l', 'z', 'v', 759, 51, 4081, 8307], [7961, 'M', 'T', 'E', 9321, 'h', 'D', 'N', 6033, 'r', 'G', 'N', 'Q', 'G', '4565', '7059', 'z', 'u', 'Q', 'e', 'K', 'K', 'r', 'I', 'L', '3355', '4677', '1117', 'S', 8697, 6045, 'G', 5943, 'E', 'o', 'F', 'V', 'Q', 8237, 'v', 5319, 4297, 'Z']