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

[7167, 'D', 'a', 'L', 8071, 'G', 'f', '1229', 'A', 'c', '2507', 'z', '8781', '1417', '1419', '9457', 'R', 'k', 'V'], [7569, 'I', 'p', 'M', 'R', 9693, 8921, 4669, 'R', 'M', 'f', '1229', 'A', 'c', '2507', 'z', '8781', '1417', '1419', '9457', 'b', 4047, 'm', 'H', 2405, 369, 5233, 'N']
f, 1229, A, c, 2507, z, 8781, 1417, 1419, 9457