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

Input: Consider Input: [6183, 4797, '4489', 'H', '1839', 'C', '5943', 'D', '2243', 'v', 'R', '2369', '653', 'Z', '4951', 'o', '5709', 'E', '6715', 'E', 'O', 'd', '9889', 'I', 'L', 'f', 2015], ['U', 'Z', 'q', 583, 'T', 'L', 5311, 'L', 't', 'A', 'W', 6061, 9623, 'x', '4489', 'H', '1839', 'C', '5943', 'D', '2243', 'v', 'R', '2369', '653', 'Z', '4951', 'o', '5709', 'E', '6715', 'E', 'O', 'd', '9889', 'I', 'q', 'X', 9877, 8877, 'R', 5899]

Output: 4489, H, 1839, C, 5943, D, 2243, v, R, 2369, 653, Z, 4951, o, 5709, E, 6715, E, O, d, 9889, I


Input: Consider Input: [7449, 1055, 'd', 'q', '3157', '6365', 'v', 'b', 'H', 'n', 'B', '4283', 'm', 'c', 'V', 'h', '3207', '3795', 'j', 'l', 'j', 'K', 'k', 'N', 'd', 83, 'a', 'd', 3257, 3697, 'p', 9587, 4343, 8761, 8435, 'q', 909], ['F', 'V', 3405, 6049, 8373, 8397, 9195, 'q', '3157', '6365', 'v', 'b', 'H', 'n', 'B', '4283', 'm', 'c', 'V', 'h', '3207', '3795', 'j', 'l', 'j', 'K', 'k', 'E', 'W', 'U', 'T', 'L', 2711, 'R', 'm']

Output: q, 3157, 6365, v, b, H, n, B, 4283, m, c, V, h, 3207, 3795, j, l, j, K, k


Input: Consider Input: [5861, 2477, 'X', 'V', 7013, 1257, 'R', 'V', 'u', 8817, 3717, 'g', 1519, '8191', '10027', 'K', 'z', 'h', '145', '7379', 'z', 'O', 'u', '6455', 'W', '2633', 'J', 't', 'M', 'U', '9221', '2191', '5587', 'j', 'U', '3557', 'G', 'N', 4173, 5029, 'S', 'M', 'b', 'C', 'p', 8833, 'V', 'b', 'H', 'o', 2743], [4325, 'T', 867, 'q', 9893, 'g', 7573, 1535, 'h', 8851, 8091, 'I', 4229, '8191', '10027', 'K', 'z', 'h', '145', '7379', 'z', 'O', 'u', '6455', 'W', '2633', 'J', 't', 'M', 'U', '9221', '2191', '5587', 'j', 'U', '3557', 'd', 'j', 'v', 'f', 5399, 8201, 7723, 'F', 'X', 'P', 2087, 2739, 'i', 9651, 6007, 8035, 'p', 9375, 'L', 9217, 'Y', 'i']


Output: 8191, 10027, K, z, h, 145, 7379, z, O, u, 6455, W, 2633, J, t, M, U, 9221, 2191, 5587, j, U, 3557