In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3547, 8451, 1129, 't', 'e', '8401', '2349', 'd', '6005', 'f', '1771', '895', '1817', '2311', 'F', 'D', '5951', '5205', '5419', 'r', 'm', 'o', 'm', '8543', 'B', 'l', '1763', 's', 'N', '7021', 'c', 'X', 3961, 6619], [281, 8291, 'J', 'q', 'l', 'f', 'z', 'O', 8607, 'A', 'L', 7515, 3121, 'G', 'a', 6857, 'y', 'i', 'i', 9593, 'r', '8401', '2349', 'd', '6005', 'f', '1771', '895', '1817', '2311', 'F', 'D', '5951', '5205', '5419', 'r', 'm', 'o', 'm', '8543', 'B', 'l', '1763', 's', 'N', '7021', 'c', 'm', 8941, 's', 6931, 'A', 'Y', 'p', 503, 9361, 7977, 'J', 'F', 7375, 4149, 'k', 'L', 7145, 8827, 'i', 'i', 8069, 2119, 'L', 'F']