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

Input: Consider Input: [2095, 4189, 3851, 8479, 'L', 3797, 'B', 'k', 'i', 'e', 'o', '4383', '3861', '6441', '2477', '9535', 'S', '9063', 'w', '5725', '6101', '1753', '3199', 'U', 'n', 5177, 'M', 5593], ['l', 'e', 'k', 4363, 3241, 6099, 5081, 3617, 7859, 'k', 'i', 'e', 'o', '4383', '3861', '6441', '2477', '9535', 'S', '9063', 'w', '5725', '6101', '1753', '3199', 't', 'N', 6009, 5793, 'T']

Output: k, i, e, o, 4383, 3861, 6441, 2477, 9535, S, 9063, w, 5725, 6101, 1753, 3199


Input: Consider Input: ['E', 'P', 'Z', '8337', 'L', '4245', 'M', 'M', 'H', '4531', 'B', 'p', '6961', 'x', 9461, 2587], [9027, 289, 2515, 'k', 'N', 'i', 9689, '8337', 'L', '4245', 'M', 'M', 'H', '4531', 'B', 'p', '6961', 'r', 'x', 737, 'a', 'w', 'K', 'S']

Output: 8337, L, 4245, M, M, H, 4531, B, p, 6961


Input: Consider Input: ['I', 6063, 'U', 'k', 8269, 'u', 'O', '9775', 'S', 'L', 'E', 'g', '815', 'F', '4641', '7313', 'y', 'h', 'm', 'b', '4259', 'S', '6539', 'd', '591', '541', 'q', 'w', 'G', 'w', 7527, 1289, 'U', 'U', 2181], ['o', 623, 193, 'x', 'P', 'h', 2043, 'Q', 'w', 'Q', '9775', 'S', 'L', 'E', 'g', '815', 'F', '4641', '7313', 'y', 'h', 'm', 'b', '4259', 'S', '6539', 'd', '591', '541', 'q', 'm', 'J', 8089, 7079, 'D', 2631]


Output: 9775, S, L, E, g, 815, F, 4641, 7313, y, h, m, b, 4259, S, 6539, d, 591, 541, q