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

Input: Consider Input: [9995, 237, 'f', 'q', '4659', 'C', '1809', 'g', '8581', '3805', '8549', 'H', '8421', 'J', '889', '1383', 'a', 'u', 'u', 'i', 6289, 6979, 8697, 9881, 1747, 4169, 99, 'V', 261, 'n', 2261, 9455], [5613, 'B', 'z', 3941, 571, 9137, 'G', 'a', 3419, 2805, 1425, 'x', 'f', 'q', '4659', 'C', '1809', 'g', '8581', '3805', '8549', 'H', '8421', 'J', '889', '1383', 'a', 'u', 'u', 'n', 3707, 5783]

Output: f, q, 4659, C, 1809, g, 8581, 3805, 8549, H, 8421, J, 889, 1383, a, u, u


Input: Consider Input: ['o', 'f', '955', 'y', 'O', 2181], ['M', 'l', '955', 'y', 'h', 5209]

Output: 955, y


Input: Consider Input: [3631, 'K', 'a', 'S', 'x', 'p', 'U', '4291', '523', '6815', 'w', 2245], [653, 1681, 'y', 'p', 'U', '4291', '523', '6815', 'S', 'q']


Output: p, U, 4291, 523, 6815