In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['U', 'j', 'S', 5981, 'b', 5053, 'W', 'd', 'L', '6175', '8953', '1779', 'R', '4427', '6563', '8559', 'd', 'i'], [8675, 4569, 9149, 'K', 'C', 3331, 9177, 8551, 'd', 'L', '6175', '8953', '1779', 'R', '4427', '6563', '8559', 'K', 'W', 4845, 'Z']