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

Input: Consider Input: ['z', 'F', 'H', 'E', 1495, 'u', 't', 'm', 'o', '1165', 'b', 75, 'B'], ['n', 'H', 'M', 'j', 3999, 'u', 't', 'm', 'o', '1165', 'r', 'x', 'W']

Output: u, t, m, o, 1165

Input: Consider Input: ['V', 519, 867, 5473, 'n', 6997, 7391, 6371, 5779, 'T', 'L', '8535', '5719', 'q', 'B', 'a', 'E', 'l', 'f', '2919', 'd', 'O', '9587', '2747', '6013', '2123', '5861', 'u', '8197', '7743', 'i', '5239', '1005', '5993', '4027', 'a', 'R', 8701, 555, 3653, 9055, 'l', 9335, 8087, 7439, 'n', 2233, 'L', 683, 'L', 'e', 2673, 5767], [5361, 3329, 867, 'n', 2379, 'S', 4679, 'M', 1831, 'I', 'm', 'E', 'E', 'u', 2107, 'u', 7779, 1113, 't', 2959, 'T', 'L', '8535', '5719', 'q', 'B', 'a', 'E', 'l', 'f', '2919', 'd', 'O', '9587', '2747', '6013', '2123', '5861', 'u', '8197', '7743', 'i', '5239', '1005', '5993', '4027', 'm', 5943, 2765, 9589, 'O', 'B', 'e', 6097, 6003, 1049, 'i']

Output: T, L, 8535, 5719, q, B, a, E, l, f, 2919, d, O, 9587, 2747, 6013, 2123, 5861, u, 8197, 7743, i, 5239, 1005, 5993, 4027

Input: Consider Input: [689, 547, 'R', 9853, 7381, 697, 7681, 'n', '9435', '3719', '5917', 'b', 'V', '8737', '8197', '5337', '6037', 'O', '4067', '1761', '4497', '4155', '1807', '5983', '3965', '2759', 'I', '9469', '7723', 't', '4055', '2033', 'z', 3911, 1357, 3401, 'g', 689, 9595, 'k', 'q', 945, 2993, 'E'], [5231, 'T', 225, 8777, 'm', 'N', 7889, 'j', 6561, 'y', '9435', '3719', '5917', 'b', 'V', '8737', '8197', '5337', '6037', 'O', '4067', '1761', '4497', '4155', '1807', '5983', '3965', '2759', 'I', '9469', '7723', 't', '4055', '2033', 'i', 'b', 'Q', 8805, 1215, 5853, 'A', 4737, 'V', 'b', 4273, 'q', 9233, 3783, 'B', 'f', 'l', 'q', 'F', 5021]
Output: 9435, 3719, 5917, b, V, 8737, 8197, 5337, 6037, O, 4067, 1761, 4497, 4155, 1807, 5983, 3965, 2759, I, 9469, 7723, t, 4055, 2033