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

Input: Consider Input: ['q', 'm', 6141, 3531, 7325, 6995, 523, 'o', '4461', '8613', 'W', 'V', '3673', 'z', 'W', '507', '201', 'i', '881', 'M', 'o', '8623', '5931', '8651', '7165', 'd', 'r', '9659', 'v', 7873, 'Q', 6365, 7655, 'C', 'O', 'f', 'Y', 1873, 5445, 7655, 2433, 'X', 1025, 'm', 6499, 'c', 'W', 'S'], ['M', 9393, 'M', 'Z', 7735, 519, '4461', '8613', 'W', 'V', '3673', 'z', 'W', '507', '201', 'i', '881', 'M', 'o', '8623', '5931', '8651', '7165', 'd', 'r', '9659', 'C', 8319, 649, 'w', 'G', 3879, 2781, 'L', 'S']

Output: 4461, 8613, W, V, 3673, z, W, 507, 201, i, 881, M, o, 8623, 5931, 8651, 7165, d, r, 9659


Input: Consider Input: ['K', 9673, 1909, 4297, 4479, 6817, 4899, 'C', 6959, 'V', '9807', '5503', '4787', '8401', '1975', 'c', '3357', 'O', '2117', 'V', 'W', '223', 'n', '7837', 'J', '7137', '4965', 'O', '9937', 'a', 'M', 'n', 6241, 'm'], ['x', 2703, 'G', 'g', 6139, 369, 'M', 2263, 1539, 8497, '9807', '5503', '4787', '8401', '1975', 'c', '3357', 'O', '2117', 'V', 'W', '223', 'n', '7837', 'J', '7137', '4965', 'O', '9937', 'X', 171, 2305, 2887, 'x', 'M', 557, 9003, 'H', 'V', 'B', 7409]

Output: 9807, 5503, 4787, 8401, 1975, c, 3357, O, 2117, V, W, 223, n, 7837, J, 7137, 4965, O, 9937


Input: Consider Input: ['K', 'F', 'S', 3325, 925, 6869, 'q', 'Q', 'Z', 8357, 'B', 4139, 'o', 'r', '1429', '623', 'W', '4611', '9035', 'J', '4581', '7071', '1701', 'J', '423', '9627', '8723', '3121', 'n', 'A', 9119, 3205, 'i', 1467, 's'], ['C', 4137, 9031, '1429', '623', 'W', '4611', '9035', 'J', '4581', '7071', '1701', 'J', '423', '9627', '8723', '3121', 'Z', 4509, 'R', 'C', 'p', 1397, 'r', 'J', 5781, 5403]


Output: 1429, 623, W, 4611, 9035, J, 4581, 7071, 1701, J, 423, 9627, 8723, 3121