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

Input: Consider Input: [9779, 'C', 8839, 1257, 9375, 6513, 3027, 'c', 4415, 8523, 3873, '4225', '3367', 'c', 'f', '477', '7185', '6657', 'z', 'f', 'H', 'l', 'p', 'F', '7941', 'M', '4439', 'R', '9505', 's', 'R', 'x', 'w', 'Z', 993], ['H', 'e', 4231, 'R', 1623, 773, 2271, 'w', 'V', 8053, 3873, 'x', 'O', 'S', 311, '4225', '3367', 'c', 'f', '477', '7185', '6657', 'z', 'f', 'H', 'l', 'p', 'F', '7941', 'M', '4439', 'R', '9505', 's', 'R', 'x', 'w', 'v', 'F', 'L', 6355, 't', 1707, 'y', 2711, 'u', 5697]

Output: 4225, 3367, c, f, 477, 7185, 6657, z, f, H, l, p, F, 7941, M, 4439, R, 9505, s, R, x, w


Input: Consider Input: [7667, 5143, 'T', 'E', 'T', 'q', 'Q', 'i', 'c', 'A', 7503, '3605', 'c', 'c', '9759', '4535', '2651', 'M', 'f', 'm', '1859', '1089', '8417', '6247', 'B', '167', '2481', '5505', 'r', '7913', 'L', '9891', 'Z', '9983', 't', 'B'], ['M', 'S', 'J', 7313, 2291, 'e', 'T', 's', 'Q', 9505, 2219, 7845, 'K', 2339, 2553, 6137, 'j', 's', 6735, 7595, '3605', 'c', 'c', '9759', '4535', '2651', 'M', 'f', 'm', '1859', '1089', '8417', '6247', 'B', '167', '2481', '5505', 'r', '7913', 'L', '9891', 'Z', '9983', 'M', 'v', 'B', 8189, 4919, 9041, 4579, 'V']

Output: 3605, c, c, 9759, 4535, 2651, M, f, m, 1859, 1089, 8417, 6247, B, 167, 2481, 5505, r, 7913, L, 9891, Z, 9983


Input: Consider Input: [9181, 'U', 3399, 'r', 'm', '339', '9217', 'i', 'r', 'V', 'h', 111], ['x', 7955, 'm', '339', '9217', 'i', 'r', 'V', 'C', 'x', 9705, 'E']


Output: m, 339, 9217, i, r, V