In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['T', 'd', 'P', 'v', 'R', '4971', '4365', 'h', 'I', 'K', 'e', 'X', '7297', '7619', 'U', 'T', '6713', '2735', '6811', 'I', '9023', 'x', '2551', 'k', 'Z', '5869', '9605', 'x', '9601', 'z', 'r', 3269, 'L', 'k', 8037, 8459, 'C', 2189, 'b', 'g', 9753, 9877, 4657, 9441, 3075, 'Z', 7965, 4091, 6915, 731, 9161, 'O', 3339], [5751, 3859, 'T', 'D', 1979, 9591, 'Z', 1143, 'B', 4787, 'N', 'm', 3523, 'V', 6107, 2529, '4971', '4365', 'h', 'I', 'K', 'e', 'X', '7297', '7619', 'U', 'T', '6713', '2735', '6811', 'I', '9023', 'x', '2551', 'k', 'Z', '5869', '9605', 'x', '9601', 'z', 'P', 'N', 'h', 'o', 3997, 2735, 2517, 'n', 'u', 'Y', 'q', 'Z', 2431, 'm', 'j', 8293, 'y', 2637, 'h', 'm', 'A', 6157, 8661]