In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5345, 6921, 3451, 2045, 9079, 7347, 9493, 'j', 'm', 4187, 'P', '1215', '4409', 'z', 'Y', '871', 'p', '37', '4367', 'k', '3677', 'v', 'B', '3975', '3061', 'o', 'm'], ['a', 'd', 'h', 3801, 7803, '1215', '4409', 'z', 'Y', '871', 'p', '37', '4367', 'k', '3677', 'v', 'B', '3975', '3061', 'l', 'W', 4651, 689, 7695, 6097, 'A', 'F', 8669, 'U', 113]