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

Ex Input:
[9945, 'B', 'P', 1687, 1255, 'E', 769, 2539, 'W', '9795', 'y', '1335', 'H', '999', '5451', 'V', '1087', 'e', 'H', '7027', '7313', 'v', '1101', 'j', 'Q', '2191', '8039', '1239', 'I', 'S', 'M', 'P', '4387', '4795', 'X', 'l', 'G', 'w', 'E', 'G'], [1097, 3119, 'V', 'i', 'v', 'W', '9795', 'y', '1335', 'H', '999', '5451', 'V', '1087', 'e', 'H', '7027', '7313', 'v', '1101', 'j', 'Q', '2191', '8039', '1239', 'I', 'S', 'M', 'P', '4387', '4795', 'X', 'l', 'O', 7411, 'y', 'H', 7657, 2977, 'T', 'R', 265, 6097, 'g', 'a', 'R', 3391, 'd', 6175, 'm', 143, 4285, 5701, 2557, 'f']

Ex Output:
W, 9795, y, 1335, H, 999, 5451, V, 1087, e, H, 7027, 7313, v, 1101, j, Q, 2191, 8039, 1239, I, S, M, P, 4387, 4795, X, l


Ex Input:
[7045, 'e', 3545, 6563, '5913', 'X', '5591', 'o', 'T', 'b'], [145, 'm', 'I', 'F', '5913', 'X', '5591', 'o', 'F', 6499, 3777]

Ex Output:
5913, X, 5591, o


Ex Input:
[9825, 5209, 'k', 4957, 'r', 'c', 'k', 'a', 't', 7681, 'T', 9235, 189, 3785, 'h', 2097, '6373', 'n', '1643', 'Q', 'c', 'a', 'T', 'M', '3079', '6083', '9063', '7461', 'K', '9417', '8415', 'f', '4267', '5631', 'O', '1733', 'u', '9197', 'W', 'V', 'b', 'h', 1059, 2831, 'H', 1203, 7625, 'q'], ['q', 'O', 't', 4687, 'w', 'n', 7153, 255, 'w', 9433, 9975, 979, 27, 5803, 8573, 8567, 6769, 'x', 6247, 9905, '6373', 'n', '1643', 'Q', 'c', 'a', 'T', 'M', '3079', '6083', '9063', '7461', 'K', '9417', '8415', 'f', '4267', '5631', 'O', '1733', 'u', '9197', 'q', 'j', 'v', 1057, 'z', 'l', 'r']

Ex Output:

6373, n, 1643, Q, c, a, T, M, 3079, 6083, 9063, 7461, K, 9417, 8415, f, 4267, 5631, O, 1733, u, 9197