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

Example Input: [37, 2553, 'G', 'a', 325, 613, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'q', 7043, 'a', 'n'], [3683, 'D', 'l', 'G', 'T', 'Z', 'i', 9075, 'M', 'Y', 5963, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'C', 'Q', 'W', 2181, 'O', 'Q', 'D', 5703, 3461]
Example Output: 4953, 1589, W, A, n, 5241, r, 1599, a, 6129, J, H, F, r, u

Example Input: [5523, 6861, 3635, 2401, 4183, 835, 'g', '8277', 'q', 'J', 'n', 'A', 'T', '7569', '7187', 'E', 'o', '8695', 'H', 'l', 'z', 'q', '8419', '653', 'q', 'I', 'L', 5555, 8467, 7403, 'm', 'q', 'Q', 5691, 'Z', 7941, 8365, 't', 'M', 'q'], [1149, 7583, 'O', 'z', 'N', 7003, 'C', '8277', 'q', 'J', 'n', 'A', 'T', '7569', '7187', 'E', 'o', '8695', 'H', 'l', 'z', 'q', '8419', '653', 'b', 'H', 'w', 'r', 685, 'D', 'o', 2299, 5915, 4613]
Example Output: 8277, q, J, n, A, T, 7569, 7187, E, o, 8695, H, l, z, q, 8419, 653

Example Input: ['Z', 'j', 2743, 'v', 'd', 'F', 'b', 3665, 'M', 'B', 'F', 9343, 'u', '7915', '7137', 'L', 'I', 'Z', '3821', 'W', 'I', 'l', '8583', '9021', 'e', '267', 'F', '2823', '8335', '1427', 'a', 'r', 'G', 'k', 8409, 7879, 'e', 7635, 3705], [4225, 3681, 2921, 'F', 'D', 'a', 2719, 'b', 'J', 7529, 'a', 9929, 8609, 'B', 'S', 3087, 4087, 6887, 'J', 'u', '7915', '7137', 'L', 'I', 'Z', '3821', 'W', 'I', 'l', '8583', '9021', 'e', '267', 'F', '2823', '8335', '1427', 'a', 'r', 'f', 1247, 'e', 'l', 'O', 6659, 5751, 981, 'F', 4859, 'B', 'i', 1471, 't', 6633, 3285, 'l', 'o', 8031, 't']
Example Output:
u, 7915, 7137, L, I, Z, 3821, W, I, l, 8583, 9021, e, 267, F, 2823, 8335, 1427, a, r