In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 8293, 4655, 9127, 8193, 4863, 'z', 'p', 'j', 'U', 'G', 'A', 'M', '3141', 'e', 'Z', 'L', 't', 'P', '4823', 'K', 'F', '8385', 's', 'Q', '2751', '7175', 'L', '9687', 'a', 2629, 2667, 8917, 'Z', 'B', 'A', 1973, 2417, 8135, 'o', 'p', 's', 'U', 4773, 6643], [1593, 'r', 'M', '3141', 'e', 'Z', 'L', 't', 'P', '4823', 'K', 'F', '8385', 's', 'Q', '2751', '7175', 'L', '9687', 'Q', 1681, 's', 'n', 'i']