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

Input: Consider Input: ['h', 'F', 6393, 'n', 'T', 'k', 'r', 'e', 'Q', '329', 'G', '1763', 'L', '5625', 'T', 'i', '3085', 'E', '6801', 'K', 'F', 1277, 747, 'h', 'w', 8727, 'v', 7473, 'I', 6133, 4391, 'Q'], [1285, 'b', 3221, 6991, 'P', 'A', 'C', 1523, 'E', 'e', 'r', 'e', 'Q', '329', 'G', '1763', 'L', '5625', 'T', 'i', '3085', 'E', '6801', 'l', 4325, 'F', 1695, 'r', 6345, 1697]

Output: r, e, Q, 329, G, 1763, L, 5625, T, i, 3085, E, 6801


Input: Consider Input: ['r', 187, 'm', 'S', 'z', 5311, 'Y', 'h', 'y', 'F', 'n', 'h', 'V', '5467', 'C', 'd', '2611', '3895', 'h', 'W', 'T', '7115', 'N', '4227', '2001', 'b', 'n', 'P', 'k', 5257, 'A', 'm', 'q', 'Q', 'n', 'n', 'd'], [5561, 8887, 7269, 'z', 7529, 4645, 'V', '5467', 'C', 'd', '2611', '3895', 'h', 'W', 'T', '7115', 'N', '4227', '2001', 'y', 1507, 'z', 'a']

Output: V, 5467, C, d, 2611, 3895, h, W, T, 7115, N, 4227, 2001


Input: Consider Input: ['R', 1021, 5083, 'F', 8749, 'G', 'A', 9719, 3811, 'F', 6629, 'R', 8441, 'G', 3227, 4625, 'Y', 2265, 'N', 'i', '8847', 'c', '577', '9615', '3457', '7035', '2761', 'L', '6431', 'G', '7291', '1757', '1167', 'm', 'z', '4977', '3975', '5495', '3729', 'Z', 1757], [4341, 'x', 5175, 3777, 3853, 247, 'l', 1969, 'u', 3975, 1367, 'N', 'i', '8847', 'c', '577', '9615', '3457', '7035', '2761', 'L', '6431', 'G', '7291', '1757', '1167', 'm', 'z', '4977', '3975', '5495', '3729', 'v', 3275, 325, 7965, 'n', 6123, 8291, 2371, 2011, 1643, 2603, 'V', 5893, 2695]


Output: N, i, 8847, c, 577, 9615, 3457, 7035, 2761, L, 6431, G, 7291, 1757, 1167, m, z, 4977, 3975, 5495, 3729