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

Input: Consider Input: [7969, 7833, 9069, 'l', 'N', 7935, 7821, 'y', 'q', 'r', 'G', 'O', 'w', 'n', 'h', 'j', 'X', '9705', 'U', '7943', 'K', 'r', '4841', '2141', 'd', '2007', 'O', '5005', 'b', '7367', 'T', 'C', 't', '6865', 'Y', '1263', 'M', 'c', 'u', 5133, 'x', 117, 5841, 'd', 'z', 'A', 3299, 'O', 'W', 'E', 'Q', 8547, 'w', 5235, 9011], [2305, 'g', 'Y', 'v', 6105, 'm', 6457, 2715, 'b', 7811, 3401, 'H', 'h', 'j', 'X', '9705', 'U', '7943', 'K', 'r', '4841', '2141', 'd', '2007', 'O', '5005', 'b', '7367', 'T', 'C', 't', '6865', 'Y', '1263', 'K', 'Z']

Output: h, j, X, 9705, U, 7943, K, r, 4841, 2141, d, 2007, O, 5005, b, 7367, T, C, t, 6865, Y, 1263

Input: Consider Input: [1249, 4091, 'E', 483, 'O', 8427, '5009', 'X', 'Q', '107', 'F', '6119', '4479', 'u', 'o', 'U', '4405', '1737', 'K', 'j', 'B', 'U', 2857, 's'], ['J', 'B', 8825, 9581, '5009', 'X', 'Q', '107', 'F', '6119', '4479', 'u', 'o', 'U', '4405', '1737', 'K', 'j', 'B', 'E', 'e', 'R', 'X', 1739, 'D', 1385, 'e', 6969]

Output: 5009, X, Q, 107, F, 6119, 4479, u, o, U, 4405, 1737, K, j, B

Input: Consider Input: ['x', 9459, 8765, 5081, 1965, 'd', 8853, 'c', 'a', 'j', 'P', 4075, 7787, 'F', 5829, 10031, '5635', 'A', '2829', 'i', '2431', '951', 'X', 'k', '2211', '8971', '529', '8649', '2573', '3051', '2867', 'C', '1833', 'X', '7081', '4769', '2839', 'N', 'l', '3427', 'T', 'i', 'e', 'l', 's', 'K', 8055, 'C', 9423, 9245, 763, 'k'], ['B', 1129, 'J', 9559, 'q', 2359, 'V', 2567, 6913, 'E', 4375, 'J', 4273, 5277, 'B', 3847, 'R', 'a', 'y', 'd', 4185, 7333, 'H', 1663, '5635', 'A', '2829', 'i', '2431', '951', 'X', 'k', '2211', '8971', '529', '8649', '2573', '3051', '2867', 'C', '1833', 'X', '7081', '4769', '2839', 'N', 'l', '3427', 'T', 'i', 'e', 'l', 'z', 'N', 8663, 5875, 'O', 'E', 'G', 'B', 'Y', 'U', 3191, 4471, 9119, 'V', 'l', 'h', 1969, 'y']
Output: 5635, A, 2829, i, 2431, 951, X, k, 2211, 8971, 529, 8649, 2573, 3051, 2867, C, 1833, X, 7081, 4769, 2839, N, l, 3427, T, i, e, l