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

Example Input: ['U', 1887, '8423', 'j', '8053', 'g', '5441', 'H', 'j', 3847, 'd', 'J', 1971, 'M'], ['y', 'T', 'C', 'z', 6299, 5393, '8423', 'j', '8053', 'g', '5441', 'H', 'x', 'f', 4189, 'h', 'e', 6577]
Example Output: 8423, j, 8053, g, 5441, H

Example Input: [9881, 'K', 8523, 'W', 'L', 229, 's', 3, 5031, 'e', 3321, 3927, 10005, 'J', 'j', '3759', 'l', 'q', 's', '5835', 'Y', '9337', '255', '2981', 'V', '7969', 'L', 'P', 'v', '6825', '1201', 'A', 'E', 'C', 'A', '1835', 'z', 'U', '5989', 'T', 'C', 'k', 3761, 'e', 'M', 's', 1391, 1497, 477, 8659, 'f', 1199, 6967, 5515, 'e', 5617, 5297, 8857, 8823], ['N', 9917, 'V', 'I', 7539, 'v', 7835, 't', 'h', 'j', '3759', 'l', 'q', 's', '5835', 'Y', '9337', '255', '2981', 'V', '7969', 'L', 'P', 'v', '6825', '1201', 'A', 'E', 'C', 'A', '1835', 'z', 'U', '5989', 'T', 'M', 7209, 1037]
Example Output: j, 3759, l, q, s, 5835, Y, 9337, 255, 2981, V, 7969, L, P, v, 6825, 1201, A, E, C, A, 1835, z, U, 5989, T

Example Input: [683, 'e', 'J', 'q', 4293, 'F', 1757, '4651', 'Y', '8919', '8387', 's', 'H', 'q', 'Z', 'B'], [5135, 77, 'w', 1081, 'M', 743, 1711, '4651', 'Y', '8919', '8387', 's', 'H', 'q', 'J', 'K', 'a', 29, 'B', 7173, 'z']
Example Output:
4651, Y, 8919, 8387, s, H, q