In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7021, 'P', 3911, 'o', 'j', '4499', '2991', 'U', 'u', '2363', '9419', '4941', 'Y', 'c', '3487', 'k', '4659', 'a', '9381', '223', '4921', '2225', 'D', '2173', 'f', 'Q', '5263', '2455', '9245', '8629', '9169', '3013', 'j', 'J', 'o', 9339, 'm', 7241, 4877, 'j'], ['f', 'n', 3937, 9635, 7363, 6305, 507, 7769, 2937, 5547, 2911, 'j', '4499', '2991', 'U', 'u', '2363', '9419', '4941', 'Y', 'c', '3487', 'k', '4659', 'a', '9381', '223', '4921', '2225', 'D', '2173', 'f', 'Q', '5263', '2455', '9245', '8629', '9169', '3013', 'j', 'R', 's', 2129, 'c', 'k', 1807, 2169, 4037, 'S', 'E', 7061, 385, 'l', 'M', 'd', 'M', 4337, 4243, 21, 9017, 'Z', 6213, 177, 'P']