You will be given a definition of a task first, then some input of the task.
In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[7431, 'R', 'I', 'U', 7169, 'Z', 'C', 29, 1379, 3625, 'V', 4785, 4815, 4559, 'l', 9299, 9775, 'T', 453, 2751, 3361, 5225, '7199', 'V', '4561', 'j', '7487', 'd', 'K', '4095', 'F', 'F', '5561', 'n', '4505', 'O', 'G', 'z', '2999', 'r', 'g', 'R', 'r', 'g', '5943', 'a', '1441', '5691', 'e', 5251, 6869, 'c', 'n', 'V', 6481, 'D', 'J', 4089, 'S', 9729, 'I', 9477, 'N', 'B', 'X', 'u', 1625, 'k', 9099, 'r', 5905, 8379, 'k'], ['Z', 'n', 7621, 4837, 9433, 'z', 7199, 8821, 7961, 'i', 'M', 2321, 5325, 'C', '7199', 'V', '4561', 'j', '7487', 'd', 'K', '4095', 'F', 'F', '5561', 'n', '4505', 'O', 'G', 'z', '2999', 'r', 'g', 'R', 'r', 'g', '5943', 'a', '1441', '5691', 'g', 1267, 2297, 3045, 7389, 255, 3421, 8271, 9095, 'Q', 'q', 3271, 'U', 9617, 3555, 'B', 'n', 'D', 'K', 'E', 2537, 't']
Output:
7199, V, 4561, j, 7487, d, K, 4095, F, F, 5561, n, 4505, O, G, z, 2999, r, g, R, r, g, 5943, a, 1441, 5691