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

Input: Consider Input: ['I', 583, 4045, 't', 'N', 'H', '1017', 'u', '7255', '8583', 'M', 'x', '143', 'e', 'l', 'U', 'S', '791', 'a', '6927', '3887', 'R', 'i', 493, 2571, 7837], ['E', 3649, 'M', 7321, 8477, 1609, 'p', '1017', 'u', '7255', '8583', 'M', 'x', '143', 'e', 'l', 'U', 'S', '791', 'a', '6927', '3887', 'j', 4719, 'u', 'F', 'U', 'P', 'c', 3121, 'u', 6871, 'T']

Output: 1017, u, 7255, 8583, M, x, 143, e, l, U, S, 791, a, 6927, 3887


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: [3003, 7023, 8421, 'Q', 'Z', 'l', 's', 'R', 'z', 8389, '6569', 'S', 'W', '3887', '3935', '4907', '8971', 'f', '4931', 'S', 'r', 't', 8337, 3125, 'z', 879, 'B', 7547], ['v', 1081, 'Q', 'x', 'q', 'I', 325, 1659, '6569', 'S', 'W', '3887', '3935', '4907', '8971', 'f', '4931', 'S', 'r', 'q', 5277, 'n']


Output: 6569, S, W, 3887, 3935, 4907, 8971, f, 4931, S, r