In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['d', 4059, 1941, 'k', 3975, 'C', 'A', 9801, 4647, 'l', '9767', 't', 'y', '895', '9669', 'n', '715', '4877', '391', 'l', 'T', 't', 'M', 'F', 'W', 'B', 'D', 'd', 6787, 'c'], ['R', 'T', 1185, 6265, 'u', 'u', 1999, 9271, 'l', '9767', 't', 'y', '895', '9669', 'n', '715', '4877', '391', 'l', 'v', 5661, 3193, 3677, 9507, 7591, 'l', 'i', 'v']