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

Ex Input:
[6917, 7141, '3657', '9205', 'b', 'm', 'Q', 'g', 'q', 'l'], [1429, 7173, 3447, '3657', '9205', 'b', 'm', 'Q', 'U', 'f']

Ex Output:
3657, 9205, b, m, Q


Ex Input:
['f', 8855, 'N', 8821, 10001, 6833, 'R', 'I', 1167, 87, 'Y', 'H', 673, '4021', 'S', '3407', 'z', '895', 'j', '9897', 'U', '3747', 'S', 'p', 'v', 'y', 'c', 'd', 'U', 143, 'k', 9757, 943, 'C', 'q', 'u', 'n', 1545, 941], ['T', 7625, 'Y', 'j', 'O', 3075, '4021', 'S', '3407', 'z', '895', 'j', '9897', 'U', '3747', 'S', 'p', 'v', 'y', 'v', 'D', 'g', 'o', 'O', 2255, 'a', 5303, 569, 5721, 'S', 5411, 'E']

Ex Output:
4021, S, 3407, z, 895, j, 9897, U, 3747, S, p, v, y


Ex Input:
['z', 'f', 2839, '4913', 'V', 'F', '6373', 'A', '3003', '4763', '7935', 'O', 'a', '9245', '6999', 'W', 'v', 's', 'r', 9463, 'h', 'q', 'H', 4737, 'L', 9555, 1501, 9823, 9973, 'P', 'L', 'n'], [5223, 1825, 'o', 1433, 867, 'I', 'B', 'X', 'k', '4913', 'V', 'F', '6373', 'A', '3003', '4763', '7935', 'O', 'a', '9245', '6999', 'W', 'v', 's', 'Q', 7309, 7979, 33, 9133, 2063, 'H', 'E', 'y', 8897, 'K']

Ex Output:

4913, V, F, 6373, A, 3003, 4763, 7935, O, a, 9245, 6999, W, v, s