In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['x', 603, 5067, 'd', 5843, 8565, 5701, 9109, '4183', '1607', 'W', '4775', 'f', '9705', '8705', '5007', 'l', 'j', 'm', '3567', '307', '9297', '1599', 'Q', '9363', 'G', 3591, 'q', 3305, 'R', 'b', 2657, 'q', 9635, 9459, 9145, 8765, 'N'], [9251, 3501, 'z', 'a', 6369, 4967, 'q', '4183', '1607', 'W', '4775', 'f', '9705', '8705', '5007', 'l', 'j', 'm', '3567', '307', '9297', '1599', 'Q', '9363', 'c', 4043, 'Z', 'B', 4357, 'Y', 'i', 'G', 'P', 6183, 'd', 9841, 'u', 'F']