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

Example Input: [8827, 'K', 7387, 7215, 'Y', '4759', 'V', 'l', '5621', '391', 'V', '6741', 'O', '3153', '4133', '2785', '8699', '9719', '1445', '487', 'm', '3969', 'u', 'u', '8779', 'y', 'R', 7083, 'U', 3361, 'u', 'b', 'M', 5833, 'D', 7509, 'D'], ['Y', 4615, 'l', 2547, '4759', 'V', 'l', '5621', '391', 'V', '6741', 'O', '3153', '4133', '2785', '8699', '9719', '1445', '487', 'm', '3969', 'u', 'u', '8779', 'b', 'W', 3225, 291, 2681, 'Z', 'k', 8059, 'A', 7261, 4877, 2019, 'g', 4621, 4541, 3343, 997, 6091, 5577, 'q']
Example Output: 4759, V, l, 5621, 391, V, 6741, O, 3153, 4133, 2785, 8699, 9719, 1445, 487, m, 3969, u, u, 8779

Example Input: [5625, 6017, 'd', 'p', '4423', '77', 'E', '5271', 'A', 1553, 'c'], ['U', 1615, 'u', 'd', 'p', '4423', '77', 'E', '5271', 'x', 'w', 'Y']
Example Output: d, p, 4423, 77, E, 5271

Example Input: ['z', 1119, 'u', '5977', '2387', 's', 'm', 'b', '7621', 'o', 2515, 'e', 'W', 'F'], [3987, 6205, 's', 'D', '5977', '2387', 's', 'm', 'b', '7621', 'O', 'Y', 'X', 'T', 'G', 'f']
Example Output:
5977, 2387, s, m, b, 7621