In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Q', 1445, 'V', 'd', 'r', '647', 'C', '4917', '2819', 'R', 'Y', '2651', 'E', '1517', 'm', '3721', 'c', 'a', '4211', '547', '5067', '585', '145', '4609', '865', '3373', 'o', '1445', '7981', 'N', 'r', 5419, 8681, 3909, 6479, 'x', 1073, 'S', 'M', 'j', 'j', 'f', 'D'], ['p', 'p', 'R', 'T', 'V', 'd', 'r', '647', 'C', '4917', '2819', 'R', 'Y', '2651', 'E', '1517', 'm', '3721', 'c', 'a', '4211', '547', '5067', '585', '145', '4609', '865', '3373', 'o', '1445', '7981', 'c', 'Q', 'e', 'z', 291, 'Q', 'U', 6135, 'y', 9185, 9165, 'E']