In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[333, 'F', 'V', 'Q', 1293, 'h', 'f', 2615, 1011, 'F', 1777, 1601, 7011, 'U', '6133', 'w', '9097', 'J', '7801', '2563', 'f', '2321', 'c', 'h', 'q', '235', '7631', '711', 'p', 'v', '2877', '787', '9605', 'p', 'R', 'X', 'C', 'w', 'U', 781, 9549, 6265, 'W', 'F', 8529, 5637, 'x', 'i', 'n', 8071, 'J', 1577, 'k', 9687], [7765, 3917, 'z', 'j', 'd', 'b', 6073, 8391, 2971, 'U', 6543, 'S', 'N', 3873, 6381, 'l', 'o', 'W', '6133', 'w', '9097', 'J', '7801', '2563', 'f', '2321', 'c', 'h', 'q', '235', '7631', '711', 'p', 'v', '2877', '787', '9605', 'p', 'R', 'X', 'C', 'e', 8547, 'a', 4141, 's', 'h', 'U', 365, 'D', 9711, 'e', 'w', 4595, 4385, 'u', 'r', 1551, 'T', 'G', 'R', 'W', 5231, 'u']