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

Input: Consider Input: ['g', 9605, '2057', '3119', 'R', 'X', 'p', '4501', 'h', '347', '7435', 'J', '4601', '4601', 'E', '8787', 'I', 'i', 3357, 'i', 6367, 't', 2131, 'J', 'W', 501, 679, 'o', 8079, 'O', 'u'], [761, 8395, '2057', '3119', 'R', 'X', 'p', '4501', 'h', '347', '7435', 'J', '4601', '4601', 'E', '8787', 'I', 'K', 'n', 9433]

Output: 2057, 3119, R, X, p, 4501, h, 347, 7435, J, 4601, 4601, E, 8787, I


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: ['L', 5293, 'I', 4887, 'z', 8889, 6613, '4419', '6989', 'l', 'G', '9819', 'l', '4531', '7541', 'T', 'M', 'j', '7189', '7359', '3737', '5323', 'e', '9955', '5631', 'j', 8451, 7955, 167, 'r', 'h', 627, 'z', 8049, 6719, 5867, 8295], [2919, 2047, 6461, 'd', 'o', 8919, 'A', 'N', '4419', '6989', 'l', 'G', '9819', 'l', '4531', '7541', 'T', 'M', 'j', '7189', '7359', '3737', '5323', 'e', '9955', '5631', 'S', 'h', 3729, 7207, 1161, 'k']


Output: 4419, 6989, l, G, 9819, l, 4531, 7541, T, M, j, 7189, 7359, 3737, 5323, e, 9955, 5631