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

Example Input: [6987, 'F', 'j', 'E', 'P', 947, 823, 'P', 4655, 'C', 'l', 'R', 'z', 5705, 'I', 'H', 'y', 2167, 7443, 'E', 'F', 'd', '567', '1385', 'd', '1013', 'Q', '3983', '5891', '6397', '1701', 'd', 'v', 'N', '4551', '9415', '5691', 'n', '3435', '1485', 'u', 'Q', '3191', 'D', 'y', 665, 'P', 'k'], [4453, 'F', 'b', 1309, 'm', 'H', 'd', '567', '1385', 'd', '1013', 'Q', '3983', '5891', '6397', '1701', 'd', 'v', 'N', '4551', '9415', '5691', 'n', '3435', '1485', 'u', 'Q', '3191', 'p', 'f', 7091]
Example Output: d, 567, 1385, d, 1013, Q, 3983, 5891, 6397, 1701, d, v, N, 4551, 9415, 5691, n, 3435, 1485, u, Q, 3191

Example Input: [4601, 2349, 'b', 'b', 'o', 'd', 'D', 'M', 'P', '3119', 's', '9507', 'u', 7239, 'o', 5437, 5729, 3109], [2629, 9653, 7873, 'T', 6873, 2939, 'o', 'd', 'D', 'M', 'P', '3119', 's', '9507', 'w', 'G']
Example Output: o, d, D, M, P, 3119, s, 9507

Example Input: ['V', 1207, 7877, 6887, 'Y', 'h', '4943', 'Z', 'I', '7641', '8399', '4777', '493', 'Q', 'r', '2813', '5389', '1201', 'H', 'G', 'q', '4427', '1629', 'h', '2907', 'x', 'U', 'C', '1545', 'w', 'Q', 8295, 'w', 'G', 'u', 'u', 'a', 7535], [2877, 'Z', 8075, 6393, 'n', 'E', 'J', 4343, 6741, 'P', 'U', 5363, 7335, 'h', 'O', 8921, 'R', 'z', 'j', 1187, 1691, 5469, 8241, 'Y', 'h', '4943', 'Z', 'I', '7641', '8399', '4777', '493', 'Q', 'r', '2813', '5389', '1201', 'H', 'G', 'q', '4427', '1629', 'h', '2907', 'x', 'U', 'C', '1545', 'w', 'v', 'N', 'u', 5371, 'q', 'x', 'A', 't', 'p', 'I', 'J', 'l', 7189, 7595]
Example Output:
Y, h, 4943, Z, I, 7641, 8399, 4777, 493, Q, r, 2813, 5389, 1201, H, G, q, 4427, 1629, h, 2907, x, U, C, 1545, w