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

Input: Consider Input: [5179, 's', 7203, 4301, 3441, 'k', 'P', 't', 'r', 3027, 's', 3809, 'u', 'S', 'h', 5087, 'z', 'a', 'b', '3333', '6041', '2765', 'q', '9485', '7697', 'E', '509', 'Q', '1573', '4879', '1197', '4515', 'k', 'c', 'z', 'V', 'l', 521, 9401, 3845, 6245, 3437, 'w', 'u'], ['u', 4399, 'R', 'v', 'x', 1061, 7505, 'r', 8411, 'o', 9285, 477, 3823, 'O', 'B', 2731, 5879, 'a', 'b', '3333', '6041', '2765', 'q', '9485', '7697', 'E', '509', 'Q', '1573', '4879', '1197', '4515', 'k', 'c', 'G', 9613, 8995, 3881, 'i', 'G', 't', 2473, 1297, 7481, 'v', 'a', 7607, 1147, 3263, 'p']

Output: a, b, 3333, 6041, 2765, q, 9485, 7697, E, 509, Q, 1573, 4879, 1197, 4515, k, c

Input: Consider Input: ['o', 5261, 'R', 8999, 'G', 1965, 3921, 9539, 5343, 'c', 6119, '4617', '7787', 'P', '295', 'U', '1429', '7667', 'G', '8607', 'R', '7375', 'E', 'R', 'S', 6387, 'u'], ['B', 'X', 319, 1715, '4617', '7787', 'P', '295', 'U', '1429', '7667', 'G', '8607', 'R', '7375', 'E', 'R', 'T', 'Q', 3169, 'x', 'L', 'Q', 1161, 5639]

Output: 4617, 7787, P, 295, U, 1429, 7667, G, 8607, R, 7375, E, R

Input: Consider Input: ['c', 'T', 9689, 'i', '8713', 'H', '2863', 'K', 'b', '4699', '7419', 'c', 'i', '2637', 'k', 'b', '425', 'S', 'F', 'D', 6367, 'F', 'B', 3347, 's', 4375, 3395, 'd', 9027, 457], ['C', 5847, 3567, 'U', 'i', '8713', 'H', '2863', 'K', 'b', '4699', '7419', 'c', 'i', '2637', 'k', 'b', '425', 'G', 93, 5389, 4315, 9073, 'p', 5229, 7843, 5871, 8535, 'M', 2767]
Output: i, 8713, H, 2863, K, b, 4699, 7419, c, i, 2637, k, b, 425