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

Example Input: ['H', 9227, 9923, 7577, 8169, 'k', 'B', 'L', 6329, '4183', '5427', '255', 'Y', 'C', 'g', 'I', 'J', '6847', 'D', '2735', 'X', 'Y', 'M', 7749, 'm', 4159, 'C', 3319, 9363, 2283, 'm', 4571, 'e'], ['u', 'Z', 'r', 1503, 'G', 9799, 'z', 'F', 'b', 'N', '4183', '5427', '255', 'Y', 'C', 'g', 'I', 'J', '6847', 'D', '2735', 'X', 'J', 7431, 3855, 4535, 6657, 8809, 7885, 'U', 1753, 3423]
Example Output: 4183, 5427, 255, Y, C, g, I, J, 6847, D, 2735, X

Example Input: [6233, 489, 6117, '5201', 'J', 'A', '3023', 'W', '791', '8263', 'm', 'w', 'q', '8873', 'B', '4945', '25', 'v', '6679', '3217', 'Q', '9509', 'V', 'Q', 4171], ['G', 9467, 331, 9967, '5201', 'J', 'A', '3023', 'W', '791', '8263', 'm', 'w', 'q', '8873', 'B', '4945', '25', 'v', '6679', '3217', 'Q', '9509', 'V', 'o', 'a', 'P', 'a', 'C', 'N', 'R', 'l', 'l', 'j', 'N', 8161, 3729, 'F', 'r', 'B']
Example Output: 5201, J, A, 3023, W, 791, 8263, m, w, q, 8873, B, 4945, 25, v, 6679, 3217, Q, 9509, V

Example Input: [247, 't', 2057, 1223, 'F', 'Z', 'A', '8595', 'c', '1465', 'M', 'M', '7699', '2837', '8945', '4087', '7141', 'z', '4073', 'R', '5217', 'p', 'e', 9213, 4661, 'k', 'n', 3975, 7797, 'Z', 'd'], [2281, 'B', 5655, 'l', 'N', 'E', '8595', 'c', '1465', 'M', 'M', '7699', '2837', '8945', '4087', '7141', 'z', '4073', 'R', '5217', 'j', 6325, 5865, 4811, 2721]
Example Output:
8595, c, 1465, M, M, 7699, 2837, 8945, 4087, 7141, z, 4073, R, 5217