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

Input: Consider Input: ['v', 1629, 't', 'y', 'R', 'k', 10021, 7155, '7241', '8007', 'N', '4295', 'O', '6233', '6893', '3293', 'J', '789', '85', '2423', 'o', 3491, 'z', 'i', 6959, 865], ['Q', 5541, 6301, '7241', '8007', 'N', '4295', 'O', '6233', '6893', '3293', 'J', '789', '85', '2423', 'D', 3297, 8731, 8807, 99, 'h', 3177, 2689, 'H', 'u', 'S', 833]

Output: 7241, 8007, N, 4295, O, 6233, 6893, 3293, J, 789, 85, 2423

Input: Consider Input: [395, 'n', 'w', 2771, 'E', 'b', 't', 3169, 1467, 'U', 3777, 'E', 'v', 7179, 6343, 7867, 1145, 6015, 'z', 'b', 'n', 681, 6517, 'c', 'z', 2275, 3123, 'Q', 'q', 'm', 'A', '3931', '6189', 'Y', '5423', '2865', 'y', '9783', 'R', '7107', 'i', '1257', 'C', '6923', 'F', 'E', '2937', 'c', 'Y', 'j', '5731', 'P', 'L', 'M', '65', 's', 'I', 'W', 5819, 'E', 8891, 'v', 'x', 1871, 'd', 1279, 7007], ['b', 'K', 4685, 9075, 3699, 3283, 3619, 4061, 't', 1445, 'Y', 'a', 'p', 'm', 5807, 7723, 'X', 'R', 'u', 'j', 6005, 6139, 4653, 283, 4471, 'Z', 'n', 5021, 1519, 'Q', 'q', 'm', 'A', '3931', '6189', 'Y', '5423', '2865', 'y', '9783', 'R', '7107', 'i', '1257', 'C', '6923', 'F', 'E', '2937', 'c', 'Y', 'j', '5731', 'P', 'L', 'M', '65', 's', 'n', 7877, 4097, 'o', 'N', 7407, 'T', 'O', 6965, 8331, 'i', 5451, 'N', 'p', 'r', 7669, 8539, 'h', 'U', 8731, 4935]

Output: Q, q, m, A, 3931, 6189, Y, 5423, 2865, y, 9783, R, 7107, i, 1257, C, 6923, F, E, 2937, c, Y, j, 5731, P, L, M, 65, s

Input: Consider Input: [8937, 'W', 2573, 'A', 'Y', 3339, 8231, 'r', 'g', 9119, 8725, 'Y', 4077, 10013, 'c', 2127, 3095, 'S', '2557', '9777', 'E', 'c', '9905', '6403', '5941', 'b', '5197', 'N', '2497', '7795', 'g', '7153', '507', 'v', '2835', '7119', '7851', '8355', 'F', 'B', '7595', 'Z', '2325', '9817', 'w', '7883', 'f', 'g', 5, 7717, 'e', 4555, 'K', 'R', 4637, 8957, 3145, 'u', 4327, 6755], [267, 'T', 'u', 'j', 'u', 8127, 7233, 5877, 6969, 'E', 6075, 2053, 979, 'q', 'n', 'n', 1299, 'q', 'R', 'q', 'e', 'J', 'U', 'w', 'L', 9059, 'S', '2557', '9777', 'E', 'c', '9905', '6403', '5941', 'b', '5197', 'N', '2497', '7795', 'g', '7153', '507', 'v', '2835', '7119', '7851', '8355', 'F', 'B', '7595', 'Z', '2325', '9817', 'w', '7883', 'f', 'c', 's']
Output: S, 2557, 9777, E, c, 9905, 6403, 5941, b, 5197, N, 2497, 7795, g, 7153, 507, v, 2835, 7119, 7851, 8355, F, B, 7595, Z, 2325, 9817, w, 7883, f