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: [5523, 6861, 3635, 2401, 4183, 835, 'g', '8277', 'q', 'J', 'n', 'A', 'T', '7569', '7187', 'E', 'o', '8695', 'H', 'l', 'z', 'q', '8419', '653', 'q', 'I', 'L', 5555, 8467, 7403, 'm', 'q', 'Q', 5691, 'Z', 7941, 8365, 't', 'M', 'q'], [1149, 7583, 'O', 'z', 'N', 7003, 'C', '8277', 'q', 'J', 'n', 'A', 'T', '7569', '7187', 'E', 'o', '8695', 'H', 'l', 'z', 'q', '8419', '653', 'b', 'H', 'w', 'r', 685, 'D', 'o', 2299, 5915, 4613]

Output: 8277, q, J, n, A, T, 7569, 7187, E, o, 8695, H, l, z, q, 8419, 653


Input: Consider Input: [931, 1311, 'E', 1533, 5139, 'i', 'z', 7199, 2643, 'D', '9269', '9091', '2511', 'B', 'g', '607', 'x', 'A', 'o', 'r', 'y', 'i', '6755', '5559', 'T', 'N', 'Q', 39, 'O'], [8135, 5515, 's', 8833, 3897, 'D', '9269', '9091', '2511', 'B', 'g', '607', 'x', 'A', 'o', 'r', 'y', 'i', '6755', '5559', 'T', 't', 'I', 5317, 8585, 5205, 1855, 'y', 3363, 1511, 4761, 'J', 'U', 'I', 4415, 'S']


Output: D, 9269, 9091, 2511, B, g, 607, x, A, o, r, y, i, 6755, 5559, T