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

Example Input: [7895, 3277, 4453, 8001, 3249, 8861, 8095, 6707, 7707, 6229, 'N', '8179', '1801', 'm', '8015', 'd', '4081', '4825', '4959', 'e', 'W', '7321', 'o', '1247', '10025', '7661', 'z', 'e', 'A', '3033', 'H', 'H', '6305', 'y', '7569', 'Q', 207, 3235, 5207, 2349, 3663, 3563, 4147, 707, 'x', 'j', 2787, 7923, 'J', 6673, 'X', 4963], ['l', 8291, 'r', 9185, 'B', 9975, 9663, 'U', 'O', 'Z', '8179', '1801', 'm', '8015', 'd', '4081', '4825', '4959', 'e', 'W', '7321', 'o', '1247', '10025', '7661', 'z', 'e', 'A', '3033', 'H', 'H', '6305', 'y', '7569', 'a', 'G', 'S', 185, 8775, 'y', 1691]
Example Output: 8179, 1801, m, 8015, d, 4081, 4825, 4959, e, W, 7321, o, 1247, 10025, 7661, z, e, A, 3033, H, H, 6305, y, 7569

Example Input: ['M', 'u', 'N', 'y', 295, 3475, 9835, 'H', 4717, 1403, 'Y', 9997, 8009, 'g', 'p', '5225', '6819', '2091', '2855', '3637', '2009', 'v', 'c', 'r', '8173', 'H', 'o', 'N', 'F', '1483', 'w', 3597, 1163, 5869], ['v', 9877, 'x', 5367, 4285, 'B', 4389, 3125, 'J', 'u', 2261, 8063, 'W', 'l', 'I', 'y', 9779, 'g', 'p', '5225', '6819', '2091', '2855', '3637', '2009', 'v', 'c', 'r', '8173', 'H', 'o', 'N', 'F', '1483', 'P', 5999, 'u', 2261, 'd', 'n', 'N', 9087, 'P']
Example Output: g, p, 5225, 6819, 2091, 2855, 3637, 2009, v, c, r, 8173, H, o, N, F, 1483

Example Input: [6497, 9239, 'd', 2831, 'L', 'U', '1929', 'a', 'd', '4227', '1365', '1691', 'U', 'K', '4159', 'H', '4319', '3291', 'U', 4403, 'm', 'm'], [3579, 'i', 8299, 'I', 'N', 'j', 'Y', 'q', 6873, 9789, 'L', 'U', '1929', 'a', 'd', '4227', '1365', '1691', 'U', 'K', '4159', 'H', '4319', '3291', 'p', 'c', 571, 'Z', 9841, 'r', 5291, 'B', 3847, 8199, 4463, 'V', 6461]
Example Output:
L, U, 1929, a, d, 4227, 1365, 1691, U, K, 4159, H, 4319, 3291