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

Input: Consider Input: ['C', 573, 'f', 1193, 7823, '1533', 'F', 'B', 'w', 'y', '3525', 't', '7201', 'h', 'f', 'w', 'Q', 'U', '1569', 'm', '9675', '1053', '4611', 'I', 3559, 5459, 2961, 'j', 7205, 5403, 8753, 2855, 55, 9273, 'e', 'G', 9505, 6191], [6441, 'L', 'r', 6289, 'P', 'r', 9227, 8285, 'Z', '1533', 'F', 'B', 'w', 'y', '3525', 't', '7201', 'h', 'f', 'w', 'Q', 'U', '1569', 'm', '9675', '1053', '4611', 'F', 'A', 'h', 'm', 5711, 'b', 933, 1093, 'S', 'b', 'x']

Output: 1533, F, B, w, y, 3525, t, 7201, h, f, w, Q, U, 1569, m, 9675, 1053, 4611

Input: Consider Input: [901, 'l', '4509', '5969', '517', 'T', 'G', '3221', 'E', 'f', 'c', '7993', 'R', 'I', 'g', 'R', 'r', 1103, 9941, 'A', 'b'], [9075, 'z', 'w', '4509', '5969', '517', 'T', 'G', '3221', 'E', 'f', 'c', '7993', 'R', 'I', 'G', 245, 865, 'x', 2117, 'G', 'w', 'Q', 6337, 'I', 'B']

Output: 4509, 5969, 517, T, G, 3221, E, f, c, 7993, R, I

Input: Consider Input: [9889, 'I', 'f', 'y', '3773', '4483', 'Y', '2325', 'M', '247', '8091', 'H', '3787', '3845', 'i', 'L', 't', '6949', '6019', '5929', 'm', 2573, 839, 'a', 'S', 9999, 'H', 135, 1089], ['Y', 'a', 9301, 'l', 'v', 'f', 'y', '3773', '4483', 'Y', '2325', 'M', '247', '8091', 'H', '3787', '3845', 'i', 'L', 't', '6949', '6019', '5929', 'Q', 9865, 7343, 741, 863, 'I', 'M', 'u']
Output: f, y, 3773, 4483, Y, 2325, M, 247, 8091, H, 3787, 3845, i, L, t, 6949, 6019, 5929