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

Input: Consider Input: ['c', 'N', 9495, 305, 1779, 7447, 8519, 2777, '2205', '2411', '4203', 'g', 'V', '8037', 'h', '5963', 'L', '715', 'A', 'p', 'k', 'h', 'A', 7013, 509, 'G'], ['V', 2467, 9505, '2205', '2411', '4203', 'g', 'V', '8037', 'h', '5963', 'L', '715', 'W', 4557, 's', 4431]

Output: 2205, 2411, 4203, g, V, 8037, h, 5963, L, 715


Input: Consider Input: [5231, 5685, 9687, 3613, 75, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'B', 'P', 'j', 'n', 5543, 6907, 9665, 4635, 'K', 'b', 4577, 'n', 4119, 'C'], [1147, 'Z', 'G', 9027, 'q', 'p', 'b', 'l', 'W', 'J', 1599, 'y', 6833, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'H', 6089, 'w']

Output: 6685, G, q, F, X, 5671, r, 2785, V, 6491, d, N, 6803, P, M


Input: Consider Input: [5867, 29, 'c', 'V', 'P', 'x', 3109, 3019, 9303, 'A', 3709, 5327, 'U', '3701', 'v', 'z', 'I', 'f', '911', 'q', 'b', 'u', '9747', 'T', '185', 'j', 'p', '8269', '5109', '4507', '6309', 'Z', 'o', '3943', 'f', 'F', '6243', 'C', 'e', 't', '7123', 'f', 'c', 'F', 8149, 's'], ['d', 'g', 3223, 'R', 697, 's', 'U', '3701', 'v', 'z', 'I', 'f', '911', 'q', 'b', 'u', '9747', 'T', '185', 'j', 'p', '8269', '5109', '4507', '6309', 'Z', 'o', '3943', 'f', 'F', '6243', 'C', 'e', 't', '7123', 'E', 'V', 7149, 7911, 'J', 'k', 'w']


Output: U, 3701, v, z, I, f, 911, q, b, u, 9747, T, 185, j, p, 8269, 5109, 4507, 6309, Z, o, 3943, f, F, 6243, C, e, t, 7123