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

Input: Consider Input: ['q', 'm', 6141, 3531, 7325, 6995, 523, 'o', '4461', '8613', 'W', 'V', '3673', 'z', 'W', '507', '201', 'i', '881', 'M', 'o', '8623', '5931', '8651', '7165', 'd', 'r', '9659', 'v', 7873, 'Q', 6365, 7655, 'C', 'O', 'f', 'Y', 1873, 5445, 7655, 2433, 'X', 1025, 'm', 6499, 'c', 'W', 'S'], ['M', 9393, 'M', 'Z', 7735, 519, '4461', '8613', 'W', 'V', '3673', 'z', 'W', '507', '201', 'i', '881', 'M', 'o', '8623', '5931', '8651', '7165', 'd', 'r', '9659', 'C', 8319, 649, 'w', 'G', 3879, 2781, 'L', 'S']

Output: 4461, 8613, W, V, 3673, z, W, 507, 201, i, 881, M, o, 8623, 5931, 8651, 7165, d, r, 9659


Input: Consider Input: ['X', 'j', 'Y', 4541, 7639, 'm', 'K', 305, 6733, 5077, 'S', 'S', '6005', 'v', '5903', '4231', 'z', 'p', '7235', 'w', '3597', '979', '3071', '3945', '8645', '8455', '9083', '8905', '999', '111', 'N', 'H', '2777', 'e', '9415', 'j', 'Q', '2679', 'w', 'g', '9581', '6053', 'j', 'P', 'x', 'r', 'K', 'C', 'R', 'k', 985, 1029, 't', 'c', 3835], [8563, 'b', 'D', 8893, 3193, 1043, 5807, 7563, '6005', 'v', '5903', '4231', 'z', 'p', '7235', 'w', '3597', '979', '3071', '3945', '8645', '8455', '9083', '8905', '999', '111', 'N', 'H', '2777', 'e', '9415', 'j', 'Q', '2679', 'w', 'g', '9581', '6053', 'z', 'S', 6681, 8187, 7139, 5221, 9683, 7271, 'c', 419, 'i']

Output: 6005, v, 5903, 4231, z, p, 7235, w, 3597, 979, 3071, 3945, 8645, 8455, 9083, 8905, 999, 111, N, H, 2777, e, 9415, j, Q, 2679, w, g, 9581, 6053


Input: Consider Input: ['Z', 'c', 'G', 'd', 'f', '9551', 'm', 'd', '2761', 'y', 't', '4599', '3253', 'E', '4171', '5439', 'q', 2679, 9397, 7359, 499], ['I', 5965, 4595, 'L', 'P', 1361, 1795, 'J', 'f', 't', '9551', 'm', 'd', '2761', 'y', 't', '4599', '3253', 'E', '4171', '5439', 'N', 'u', 8517]


Output: 9551, m, d, 2761, y, t, 4599, 3253, E, 4171, 5439