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

Input: Consider Input: ['k', 521, 'b', 'j', 8637, 2323, 'S', 2743, 'I', 5351, 'B', 1525, 6545, 5197, 'Y', 'S', 'F', '8581', 'C', '2183', 'Q', 'N', '1435', 'E', '8709', '7613', 'C', '7381', '7499', '9041', '1479', 'I', 's', '7101', '6233', '9063', '9969', '5315', 'e', '2495', 'x', 8587, 1937, 1217, 'w', 'o', 'J', 'H', 'N'], [4927, 7101, 1961, 1277, 6009, 'x', 6541, 'h', 'S', 'F', '8581', 'C', '2183', 'Q', 'N', '1435', 'E', '8709', '7613', 'C', '7381', '7499', '9041', '1479', 'I', 's', '7101', '6233', '9063', '9969', '5315', 'e', '2495', 'f', 't', 'l', 3599, 'z', 'S', 7683, 'I', 101, 'D', 'E', 4087, 3221, 'n', 'R', 1809, 7069, 7145, 5573, 8597, 2473]

Output: S, F, 8581, C, 2183, Q, N, 1435, E, 8709, 7613, C, 7381, 7499, 9041, 1479, I, s, 7101, 6233, 9063, 9969, 5315, e, 2495


Input: Consider Input: [2433, 'X', 8485, 1927, 2127, 8173, 7755, 4795, 4389, 1533, 'F', 'J', 'm', '815', 'i', '8555', '2391', 'M', 'c', 'c', 'h', '2677', '4129', 'y', '3999', 'n', 'Z', 'W', '9019', '5685', 'g', 'e', 'D', '3315', 'z', 'S', 'P', 75, 7819, 'j', 'm', 6861, 'R', 3931, 167, 9437, 'q', 5607, 'S', 5939, 'D', 'p', 'w', 689, 4265], [1169, 'I', 'E', 'Q', 9433, 99, 'S', 2367, 7367, 8127, 'I', 3203, 'f', 'n', 4635, 'J', 'm', '815', 'i', '8555', '2391', 'M', 'c', 'c', 'h', '2677', '4129', 'y', '3999', 'n', 'Z', 'W', '9019', '5685', 'g', 'e', 'D', '3315', 'E', 'J']

Output: J, m, 815, i, 8555, 2391, M, c, c, h, 2677, 4129, y, 3999, n, Z, W, 9019, 5685, g, e, D, 3315


Input: Consider Input: [2975, 3781, 'D', 'd', 'K', 4033, '3783', 'n', 'k', '327', 't', '9871', '233', 's', 'e', 'P', 3411, 'J', 'e'], [4339, 2811, '3783', 'n', 'k', '327', 't', '9871', '233', 'l', 'f', 4263, 7913]


Output: 3783, n, k, 327, t, 9871, 233