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

Ex Input:
[8471, 8309, 'g', 'f', 5019, 'd', 8129, 'r', 'e', 'l', 'B', '7297', 'c', '2785', '919', 'B', '5459', 'L', 5985, 2953, 6897, 'n', 9209, 3281, 'w', 4011, 't'], ['g', 7529, 'q', 6213, 'c', 'l', 6053, 'r', 'e', 'l', 'B', '7297', 'c', '2785', '919', 'B', '5459', 'B', 2159, 7633, 8707]

Ex Output:
r, e, l, B, 7297, c, 2785, 919, B, 5459


Ex Input:
[1379, 'n', 1525, 'Y', 'A', '9043', '2335', '5029', 'f', 'b', '7547', '4275', 'R', 'H', 'd', 8015, 10007, 'R', 'K', 'n', 'o', 'U', 3049], ['k', 379, 'M', 'M', 'a', '9043', '2335', '5029', 'f', 'b', '7547', '4275', 'R', 'H', 'q', 'v', 7549]

Ex Output:
9043, 2335, 5029, f, b, 7547, 4275, R, H


Ex Input:
['s', 3915, 6037, 5349, 1153, 'o', 3385, 1933, '7677', '6505', 'F', 'z', 'r', '6481', '6101', 'v', 'l', '5877', 'r', '5777', 'v', 'k', 'D', 'V', 'i', 'Q', 'n', 'A', 'a', '881', '3065', 'P', '6111', 'y', '7329', '9183', 't', '1865', 'h', 4357, 7947, 5553, 'm', 'C', 'L', 'e', 'Q', 'O', 'P', 'e', 3317, 5581, 7557, 1685], [9461, 2079, 2941, 2501, 9745, 'D', 'd', '7677', '6505', 'F', 'z', 'r', '6481', '6101', 'v', 'l', '5877', 'r', '5777', 'v', 'k', 'D', 'V', 'i', 'Q', 'n', 'A', 'a', '881', '3065', 'P', '6111', 'y', '7329', '9183', 't', '1865', 'c', 'w', 2813, 'c', 'F', 'x', 5239, 4171, 'J', 543, 'C']

Ex Output:

7677, 6505, F, z, r, 6481, 6101, v, l, 5877, r, 5777, v, k, D, V, i, Q, n, A, a, 881, 3065, P, 6111, y, 7329, 9183, t, 1865