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

Input: Consider Input: [8495, 'H', 1935, 'Z', 'd', 4509, 'a', 5225, 9009, 'm', 'B', 's', 'H', 553, 1899, 'e', 5239, 9357, '6827', '1793', '9409', '2597', '3093', '8337', 'x', 'K', '6425', 's', 'h', '9337', 'F', 't', 'Y', '4249', 'v', '1611', 'T', 'F', 'X', '7719', 'N', 'O', 'Y', '9169', 'W', 8889, 'w', 'x', 'W', 'N', 'L', 703, 'v', 'L', 'A', 'z', 'J', 6407, 9779, 8049, 'u', 'u', 271, 'x', 6175, 433, 'C', 'a', 4817], [787, 'j', 'T', '6827', '1793', '9409', '2597', '3093', '8337', 'x', 'K', '6425', 's', 'h', '9337', 'F', 't', 'Y', '4249', 'v', '1611', 'T', 'F', 'X', '7719', 'N', 'O', 'Y', '9169', 'L', 'M', 'D', 'W', 3667, 'O', 'D', 1233, 'X', 3483, 'g', 779, 2951, 9855, 'J', 6069, 2303, 245, 5151, 'O', 'K']

Output: 6827, 1793, 9409, 2597, 3093, 8337, x, K, 6425, s, h, 9337, F, t, Y, 4249, v, 1611, T, F, X, 7719, N, O, Y, 9169


Input: Consider Input: [1307, 'T', 'C', 7825, 'Z', 7865, 4777, 't', 'C', 'e', 4191, 'E', '8099', '4097', '5535', 'x', 'y', 'b', '6157', '661', '9445', 'Y', '8203', '4037', '5669', 'z', '523', '619', '4557', 'e', 6751, 3871, 'H', 4279, 'd', 'C', 655, 7933], ['I', 'b', 'B', 'M', 5631, 'O', 'l', 3281, 9033, 3921, 'Y', 'r', 'L', 'u', 'c', 'E', '8099', '4097', '5535', 'x', 'y', 'b', '6157', '661', '9445', 'Y', '8203', '4037', '5669', 'z', '523', '619', '4557', 'l', 'Q', 8543, 'K', 851, 2067, 'b', 3229, 9237, 1667, 1897, 'k', 'w', 5483, 'n', 7723]

Output: E, 8099, 4097, 5535, x, y, b, 6157, 661, 9445, Y, 8203, 4037, 5669, z, 523, 619, 4557


Input: Consider Input: ['u', 4429, 'd', 8355, 'K', 'c', 'j', '821', '6891', '649', 'Q', '2157', 'v', 'T', 'H', 3833, 8129], ['w', 'A', 2851, 6115, 'K', 'c', 'j', '821', '6891', '649', 'Q', '2157', 'v', 'G', 5683, 2919, 8101, 'U', 'D', 'N', 2739]


Output: K, c, j, 821, 6891, 649, Q, 2157, v