In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

['p', 'j', 'T', 'd', 2547, '173', '9047', '3369', '3981', '4153', '8539', 'a', 'L', 'c', 'v', 6115, 2375, 'l', 1427, 'U', 'n', 7], [3895, 'Z', 1565, 'x', 'E', 4937, 'D', '173', '9047', '3369', '3981', '4153', '8539', 'a', 'L', 'c', 'M', 2205, 1521, 2425]
173, 9047, 3369, 3981, 4153, 8539, a, L, c