In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4701, 'w', 'Y', 'Y', '5795', '8583', 'B', 'h', '235', 'j', '1945', '4327', '7487', '4273', 'B', '8511', 's', 'U', 's', 'F', 'M', 'Z', 'f', 'j', 'E', '3991', 'Q', 'D', 'b', 'b', 'Q', 'H', 5879, 6141, 1035, 9733, 109, 'C', 'z', 8795, 8689, 8809, 'i', 'm', 'n', 'N', 6091, 3109, 21, 6575, 5255, 3965, 'E', 'O'], ['j', 8569, 2935, 8507, 1171, 'Q', 1137, 'y', 'e', 457, 'A', 5035, 5625, 9025, 'S', 'u', 'w', 4783, 5093, '5795', '8583', 'B', 'h', '235', 'j', '1945', '4327', '7487', '4273', 'B', '8511', 's', 'U', 's', 'F', 'M', 'Z', 'f', 'j', 'E', '3991', 'Q', 'D', 'b', 'Y', 6897, 8583, 'f']