In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9399, 'X', 'T', '3461', 'K', 'h', '441', '1325', 'b', 4059], ['U', 2233, 3715, 'r', 'T', '3461', 'K', 'h', '441', '1325', 'C', 5117, 'i', 'D', 'i']