In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['l', 117, 9275, 5759, 'l', 1741, 'i', 'n', 'e', 'z', 1145, 'a', 'F', '2839', 'U', 'Z', 'H', 'B', '6211', '6539', '5147', 'A', '5185', 'Q', '6113', 'G', 8373, 7085, 4211, 1793, 5781, 'P', 'C'], ['N', 5485, 'U', 'L', 'M', 'V', 'a', 'F', '2839', 'U', 'Z', 'H', 'B', '6211', '6539', '5147', 'A', '5185', 'Q', '6113', 'c', 'R', 5917, 'b']