Definition: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [2003, 5665, 'T', 3637, 1151, 9881, 8089, 'H', '7843', '3561', '4549', 'y', '1527', 'b', '8373', '6155', 'T', '399', 'U', '5743', '6617', 'n', '1025', '8971', '9615', '2163', 'k', '3409', '321', '2429', '5269', '5625', 'y', 'E', 4359, 'W', 'l', 7777, 'm', 5459, 3187, 1837], [1733, 'o', 8613, 5013, 'J', 'R', 'i', 3023, 6555, 3197, 4941, 9923, 7397, 9377, 427, 6507, 'H', '7843', '3561', '4549', 'y', '1527', 'b', '8373', '6155', 'T', '399', 'U', '5743', '6617', 'n', '1025', '8971', '9615', '2163', 'k', '3409', '321', '2429', '5269', '5625', 'e', 'f', 'v', 'M', 787]
Output:
H, 7843, 3561, 4549, y, 1527, b, 8373, 6155, T, 399, U, 5743, 6617, n, 1025, 8971, 9615, 2163, k, 3409, 321, 2429, 5269, 5625