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

Input: Consider Input: ['x', 653, 8793, 'W', 1845, 'Y', 6363, 9757, '9605', 'U', '1913', '2991', '7131', '237', '7023', 'j', '2123', 'B', '1887', 'K', '3729', 'D', '8391', '9729', 'w', 'k', 'M', '6957', 'J', 703, 'F', 'X', 'x', 7483], ['q', 10017, 5483, 8675, 'w', 'F', 'D', '9605', 'U', '1913', '2991', '7131', '237', '7023', 'j', '2123', 'B', '1887', 'K', '3729', 'D', '8391', '9729', 'w', 'k', 'M', '6957', 'n', 7147, 7131, 'q', 'u', 'A', 1171, 'V', 'k', 'N', 6869]

Output: 9605, U, 1913, 2991, 7131, 237, 7023, j, 2123, B, 1887, K, 3729, D, 8391, 9729, w, k, M, 6957


Input: Consider Input: [2585, 'R', 'a', 9005, 829, 1751, 'I', 'G', '6211', '5597', '9283', '3429', 'T', 'K', '4887', '4679', '5705', 'u', 'p', 'c', '6329', '6259', 't', 'p', 'I', 'E', 'S', '3507', 'Q', 'K', 1021, 635, 'L', 'r', 'D', 6997, 4363, 'm', 2661, 7933, 'v'], [2855, 'Q', 7207, 'F', 9581, 9807, 3127, 6695, 4363, 'V', 'd', 2791, 't', 4507, 1047, 5959, 2697, 6393, 1751, 5521, 'S', 'G', '6211', '5597', '9283', '3429', 'T', 'K', '4887', '4679', '5705', 'u', 'p', 'c', '6329', '6259', 't', 'p', 'I', 'E', 'S', '3507', 'C', 437, 'c', 63, 469, 'R', 'I', 10007, 'B', 'S', 4919, 'V', 7431, 9317, 9909, 421, 'J', 't', 'O', 'r', 3653]

Output: G, 6211, 5597, 9283, 3429, T, K, 4887, 4679, 5705, u, p, c, 6329, 6259, t, p, I, E, S, 3507


Input: Consider Input: [7755, 'B', 'v', 3885, 7081, 'K', 'Y', 8663, 1317, 'k', 'X', 6283, 2481, 2431, 1407, 'E', 'u', '4753', 'R', 'L', '4099', 'w', '9269', 'F', 'r', 'Y', '2943', 'E', 'y', '5355', 'o', 'W', 'Y', '7821', 'Y', 'M', '6973', 'x', 'n', '2939', 'X', '8959', '5125', 'k', 'p', '6179', 'R', 'G', 1915, 'l', 'Z', 'h', 'N', 'p', 'f', 445, 191, 'y', 7637, 'J', 3063, 'g', 'n', 4799, 199, 2655, 7869, 'P', 'c', 4791], ['M', 'L', 'n', 2199, 1495, 7427, 7025, 'L', 's', 4437, '4753', 'R', 'L', '4099', 'w', '9269', 'F', 'r', 'Y', '2943', 'E', 'y', '5355', 'o', 'W', 'Y', '7821', 'Y', 'M', '6973', 'x', 'n', '2939', 'X', '8959', '5125', 'k', 'p', '6179', 'U', 4837, 'J', 'R']


Output: 4753, R, L, 4099, w, 9269, F, r, Y, 2943, E, y, 5355, o, W, Y, 7821, Y, M, 6973, x, n, 2939, X, 8959, 5125, k, p, 6179