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

Input: Consider Input: [1065, 2741, 'w', 'B', 'X', '5865', 's', '2579', '3679', 'K', 4415, 5237], [9019, 4795, 8363, 1935, 9883, 'X', '5865', 's', '2579', '3679', 'y', 4605, 8603, 1243, 9199]

Output: X, 5865, s, 2579, 3679


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: ['N', 7229, '4831', 'P', 'E', 7925], [3857, 'C', '4831', 'P', 'g', 'p']


Output: 4831, P