In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['R', 2985, 'O', 'N', 6417, 9481, 1209, 'f', 'c', 'c', '7125', '9781', 'H', 'D', '4421', 'p', '8021', 'g', 'M', 'P', 'q', 'f', 'U', 'W', '8121', 'J', '7141', '9937', 'a', '8621', 'G', 9571, 'w'], [3159, 'k', 9869, 'e', 783, 'V', 1879, 7787, 'z', 7385, 'Q', 4623, 'A', 'x', 9581, 'O', 'H', 159, 'T', 'R', 9237, 'f', 'c', 'c', '7125', '9781', 'H', 'D', '4421', 'p', '8021', 'g', 'M', 'P', 'q', 'f', 'U', 'W', '8121', 'J', '7141', '9937', 'a', '8621', 'x', 4509]