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

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: ['J', 8283, 'c', 1349, 'Z', 5795, 3153, 'w', 3769, 'M', '5425', 'g', '749', '2655', 'L', '5235', '7797', 'q', '8589', 'V', '4057', 'Q', 'y', 'P', 'W', '1223', 'V', '6029', 'P', 'x', 'v', '7111', 'x', '511', 's', 'N', 8363, 4645, 8599, 'B', 5111, 'k', 3627, 3245, 'e', 'h', 'X', 'U', 437, 4871, 3567, 8775, 7393, 2135, 4321, 1223], ['y', 'e', 4857, 'U', 4951, 6477, 6435, '5425', 'g', '749', '2655', 'L', '5235', '7797', 'q', '8589', 'V', '4057', 'Q', 'y', 'P', 'W', '1223', 'V', '6029', 'P', 'x', 'v', '7111', 'x', '511', 'c', 8651, 2433, 219, 'E', 9299, 'R', 'C', 'B', 'n', 'I', 8513, 4973, 3979, 'R', 'g', 'C', 'f', 8713, 3227, 4085, 1055, 'Z']

Output: 5425, g, 749, 2655, L, 5235, 7797, q, 8589, V, 4057, Q, y, P, W, 1223, V, 6029, P, x, v, 7111, x, 511

Input: Consider Input: ['P', 'x', '6111', '4451', 'b', 'K'], [3115, 'P', '6111', '4451', 'N', 8437]
Output: 6111, 4451