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

Input: Consider Input: [4183, 'U', 7363, 'G', 'p', 'm', 5967, 7979, 'o', 6465, 1603, 'a', 'U', 539, 'V', 867, 'z', '9291', '3659', 'X', '9869', 'S', '7001', '347', 'F', '1433', 'c', 'J', '6113', 'H', 'd', 'J', '8705', 'P', 1783], [4781, 4033, 'M', 'W', 4561, 'Z', 'z', '9291', '3659', 'X', '9869', 'S', '7001', '347', 'F', '1433', 'c', 'J', '6113', 'H', 'd', 'J', '8705', 's', 4093, 201, 'i', 'Y', 'S', 2227, 'C', 5375, 1627]

Output: z, 9291, 3659, X, 9869, S, 7001, 347, F, 1433, c, J, 6113, H, d, J, 8705


Input: Consider Input: [7449, 1055, 'd', 'q', '3157', '6365', 'v', 'b', 'H', 'n', 'B', '4283', 'm', 'c', 'V', 'h', '3207', '3795', 'j', 'l', 'j', 'K', 'k', 'N', 'd', 83, 'a', 'd', 3257, 3697, 'p', 9587, 4343, 8761, 8435, 'q', 909], ['F', 'V', 3405, 6049, 8373, 8397, 9195, 'q', '3157', '6365', 'v', 'b', 'H', 'n', 'B', '4283', 'm', 'c', 'V', 'h', '3207', '3795', 'j', 'l', 'j', 'K', 'k', 'E', 'W', 'U', 'T', 'L', 2711, 'R', 'm']

Output: q, 3157, 6365, v, b, H, n, B, 4283, m, c, V, h, 3207, 3795, j, l, j, K, k


Input: Consider Input: ['L', 'I', 5313, 9359, 'V', 7701, 'x', 1727, 'y', 'b', 'O', '5945', '9589', 'B', 'N', '149', 'b', '2841', 'D', 's', 6475], [8887, 's', 'G', 8081, 't', 7681, 3927, 4899, 'v', 9419, 'b', 'O', '5945', '9589', 'B', 'N', '149', 'b', '2841', 'D', 'H', 'E', 4417, 7709, 4997, 'V', 'I', 5995]


Output: b, O, 5945, 9589, B, N, 149, b, 2841, D