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

Example Input: [7895, 3277, 4453, 8001, 3249, 8861, 8095, 6707, 7707, 6229, 'N', '8179', '1801', 'm', '8015', 'd', '4081', '4825', '4959', 'e', 'W', '7321', 'o', '1247', '10025', '7661', 'z', 'e', 'A', '3033', 'H', 'H', '6305', 'y', '7569', 'Q', 207, 3235, 5207, 2349, 3663, 3563, 4147, 707, 'x', 'j', 2787, 7923, 'J', 6673, 'X', 4963], ['l', 8291, 'r', 9185, 'B', 9975, 9663, 'U', 'O', 'Z', '8179', '1801', 'm', '8015', 'd', '4081', '4825', '4959', 'e', 'W', '7321', 'o', '1247', '10025', '7661', 'z', 'e', 'A', '3033', 'H', 'H', '6305', 'y', '7569', 'a', 'G', 'S', 185, 8775, 'y', 1691]
Example Output: 8179, 1801, m, 8015, d, 4081, 4825, 4959, e, W, 7321, o, 1247, 10025, 7661, z, e, A, 3033, H, H, 6305, y, 7569

Example Input: [6403, 3483, 'Z', 'l', '1385', '5787', '7377', '9385', '1545', '1079', 'C', 'K', 'f', 'O', 'W', '3253', 'Y', '2727', '3679', 'C', '4251', '3803', 'y', 'p', 'H', 'U', 9679, 'k', 'K', 3073, 3011, 'u', 'p', 'N', 2433, 9787, 3981, 363], ['n', 'n', 2201, 4585, 'Z', 'q', 921, 'S', 5417, 'l', '1385', '5787', '7377', '9385', '1545', '1079', 'C', 'K', 'f', 'O', 'W', '3253', 'Y', '2727', '3679', 'C', '4251', '3803', 'y', 'p', 'H', 'u', 'P', 4041, 6681, 'n', 'M', 8035]
Example Output: l, 1385, 5787, 7377, 9385, 1545, 1079, C, K, f, O, W, 3253, Y, 2727, 3679, C, 4251, 3803, y, p, H

Example Input: [1461, 'B', 'K', 'B', 'H', 'C', 'l', 'g', 'F', 'M', 'f', 'M', '5529', '1079', 'N', '5709', '3883', '8047', '1089', '3805', '8709', 'e', '9133', '8759', '451', '2389', '1079', 't', '5919', 'd', '8897', 'L', 965, 'R', 'G', 5939, 'v', 2277, 'C'], ['K', 2859, 'o', 'M', '5529', '1079', 'N', '5709', '3883', '8047', '1089', '3805', '8709', 'e', '9133', '8759', '451', '2389', '1079', 't', '5919', 'd', '8897', 'k', 'P', 1323, 'd', 957]
Example Output:
M, 5529, 1079, N, 5709, 3883, 8047, 1089, 3805, 8709, e, 9133, 8759, 451, 2389, 1079, t, 5919, d, 8897