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

Ex Input:
[7975, 4703, 'c', '8363', '1673', 'U', 'w', 6977], [3235, 'G', 'c', '8363', '1673', 'N', 'p']

Ex Output:
c, 8363, 1673


Ex Input:
[9945, 7993, 'D', 'C', 1341, 'S', 3245, 'v', 'R', 'a', 'Y', 'm', 'j', 'S', 2325, 7293, 8483, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'o', 5889, 'c', 2547, 'q', 9407, 'M', 'O'], [2017, 'P', 9637, 7239, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'Y', 'O', 'U', 495, 'U', 3945, 'h', 9439, 6821, 7583, 6249, 573, 'v', 'T', 2219, 3279]

Ex Output:
2185, X, 5509, v, Q, 1557, 2811, 3957, 431, 2403, 9633, H, d, h, u, P, 3647, t, 8345, 8157, a, 4759, 3097


Ex Input:
[6577, 'C', 'W', 's', 393, 6157, 'j', 'f', 3761, 'y', 'A', 2699, 'w', 'B', 9349, 'L', 155, '1305', '3277', 'u', 'T', 'J', 'R', 't', 't', 'f', '1037', 'a', '6597', 'm', 'N', 's', '4577', '10001', 'I', '5633', 'M', '2163', '745', 'S', 'Z', '313', 'u', 'w', 'a', 'e', 'G', 'Y', 6821, 8901, 'o', 'A', 4553, 7351, 4833, 1025, 'a', 1819, 'm', 4741, 't', 'K', 'A'], ['n', 'I', 'g', 6789, 'j', 'n', 3031, 9991, 's', 'N', '1305', '3277', 'u', 'T', 'J', 'R', 't', 't', 'f', '1037', 'a', '6597', 'm', 'N', 's', '4577', '10001', 'I', '5633', 'M', '2163', '745', 'S', 'Z', '313', 'u', 'w', 'Z', 6407, 9557, 'd', 'u', 6141, 'Y', 'p', 2643, 'D']

Ex Output:

1305, 3277, u, T, J, R, t, t, f, 1037, a, 6597, m, N, s, 4577, 10001, I, 5633, M, 2163, 745, S, Z, 313, u, w