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

Input: Consider Input: [8377, 'Q', 5191, 'h', 2277, 2989, 'W', '7491', '593', '335', '4807', 'X', '6677', 'M', 'p', 'Y', '7747', 'j', '7155', '3591', '7715', 'I', '4975', '4979', '6273', '9479', 'w', '1781', 'q', 'L', 8201, 'e', 585, 'h', 'G', 'T', 3401, 'd', 'l', 'o'], [8059, 'f', 'D', 'l', 7863, 'k', 'G', 'C', 'd', 'Z', 'Z', 'A', 895, '7491', '593', '335', '4807', 'X', '6677', 'M', 'p', 'Y', '7747', 'j', '7155', '3591', '7715', 'I', '4975', '4979', '6273', '9479', 'w', '1781', 'x', 'v', 4061, 'O', 'd', 'q', 'r', 1301, 4515, 4365, 1631, 'N', 'L', 6353, 'k', 2393, 4333, 3241, 1043]

Output: 7491, 593, 335, 4807, X, 6677, M, p, Y, 7747, j, 7155, 3591, 7715, I, 4975, 4979, 6273, 9479, w, 1781


Input: Consider Input: [5381, 'H', 'w', 9281, 3195, 2609, 'v', 'q', 'O', 10019, 'Q', 'K', 'c', 'J', 'A', 'a', 313, 5517, '3007', '1737', 'F', 'a', '4559', '3987', '6211', 'v', '5531', '9565', '1705', '7747', '8567', '5965', '4195', 'p', '2775', 'g', 'K', 'n', 'B', 'U', 'T', '8995', 'c', '2831', 'n', 'Q', 'l', '6749', 'z', 4391, 'Z', 3229, 'f', 'z', 6131, 'm', 'U', 5825], [6363, 6625, 'f', 7841, 'J', 'j', 993, 'p', 'f', 'X', 'j', 361, 4325, 'a', 649, '3007', '1737', 'F', 'a', '4559', '3987', '6211', 'v', '5531', '9565', '1705', '7747', '8567', '5965', '4195', 'p', '2775', 'g', 'K', 'n', 'B', 'U', 'T', '8995', 'c', '2831', 'n', 'Q', 'l', '6749', 'G', 6719, 2367, 9155, 'B', 7493, 9415, 'j', 'k', 'j', 'v', 'k', 'Z', 9021, 'f', 'x', 3213, 'p', 3453, 'w']

Output: 3007, 1737, F, a, 4559, 3987, 6211, v, 5531, 9565, 1705, 7747, 8567, 5965, 4195, p, 2775, g, K, n, B, U, T, 8995, c, 2831, n, Q, l, 6749


Input: Consider Input: [7591, 'J', 'p', 'y', 'S', 5683, 'q', 207, 'E', 4635, 5739, 1293, 9567, 5271, 'g', 6457, 9111, 8881, 'u', 'j', 'C', '3453', '5821', '4507', 'v', 'w', '2501', 'S', 'Q', '9135', 'r', '7123', 'A', '9653', 'T', '9635', '7843', 'L', '1665', '3031', '2673', '3441', '1031', 'd', 'y', 'a', 'W', 897, 'Z', 'i', 'L', 'D', 9269, 'C', 'D', 'B', 91, 'q', 'e', 's', 'G'], [6805, 6563, 5911, 'U', 'u', 'j', 'C', '3453', '5821', '4507', 'v', 'w', '2501', 'S', 'Q', '9135', 'r', '7123', 'A', '9653', 'T', '9635', '7843', 'L', '1665', '3031', '2673', '3441', '1031', 'd', 'y', 'a', 'n', 1075, 7857, 'I', 'Y', 5759, 'p', 4373, 8249, 'D', 7035, 7161, 'B', 'K', 'j', 'y', 4531, 423, 9015, 7721, 1651, 4891, 3833, 7609, 7183, 'r', 'j']


Output: u, j, C, 3453, 5821, 4507, v, w, 2501, S, Q, 9135, r, 7123, A, 9653, T, 9635, 7843, L, 1665, 3031, 2673, 3441, 1031, d, y, a