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

Input: Consider Input: [9049, 'c', 'B', 'H', '8393', '3255', 'C', '6239', 'G', '1819', '6771', '1217', '2853', '7341', 'C', 'S', '2155', 'N', '2837', 'N', 'v', '9271', 'Q', 'g', '8921', '7371', 'G', 'N', 'z', 8197, 'p', 8453, 2429, 1051, 'Y', 4315, 5473, 't', 4905, 'J', 'l', 5959, 't', 'x', 'F', 8431], [9507, 2299, 6223, 3229, 4513, 3943, 'R', 2817, '8393', '3255', 'C', '6239', 'G', '1819', '6771', '1217', '2853', '7341', 'C', 'S', '2155', 'N', '2837', 'N', 'v', '9271', 'Q', 'g', '8921', '7371', 'G', 'T', 3597]

Output: 8393, 3255, C, 6239, G, 1819, 6771, 1217, 2853, 7341, C, S, 2155, N, 2837, N, v, 9271, Q, g, 8921, 7371, G

Input: Consider 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]

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

Input: Consider Input: [7859, 8611, '5371', '4107', 'c', 'G', 9809], [8071, 1933, 3341, '5371', '4107', 'c', 'h', 1209]
Output: 5371, 4107, c