In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['L', 31, 'L', 'f', 'Q', 'y', 8469, 3645, '4089', '6901', '3217', '4119', '8803', '5491', 'l', 'Q', '2313', '5027', '8453', 'n', '7319', '7949', '8253', '1143', '9681', '7151', 'N', 'P', 'M', '6619', 'D', 'M', 'x', '799', 'o', '3931', '9965', '5973', 'Y', 6215, 'v', 'i', 'O'], ['T', 'M', 'I', 'F', 8129, 5759, 'T', '4089', '6901', '3217', '4119', '8803', '5491', 'l', 'Q', '2313', '5027', '8453', 'n', '7319', '7949', '8253', '1143', '9681', '7151', 'N', 'P', 'M', '6619', 'D', 'M', 'x', '799', 'o', '3931', '9965', '5973', 'C', 'f', 'u', 'e', 'b', 4489, 'Q', 7331, 4335]