Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
See one example below:
Problem: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Solution: 8297, b
Explanation: Here, '8297, b' is the longest common subsequence in both the input lists [5797, 8817, '8297', 'b', 'U', 'b'] and [5843, 8809, '8297', 'b', 'W', 'C'].

Problem: ['J', 't', 9507, 'b', 'a', 'q', 'U', 'O', 535, 6221, '9145', '6897', 'r', 'y', 'j', '2109', 'b', '7915', '4187', '9933', '8729', '5749', '3909', 'h', 'r', 'H', '3971', 'I', '5841', '299', 'p', '2141', 'n', 'M', 'O', 'A', 'k', '8703', 'Z', 9667, 4059, 'K', 651], ['w', 5601, 'e', 'B', 'M', 5463, 9569, 9107, 'l', 6185, 9329, 'W', 'm', 7785, 2995, 757, 'd', 6525, 1293, '9145', '6897', 'r', 'y', 'j', '2109', 'b', '7915', '4187', '9933', '8729', '5749', '3909', 'h', 'r', 'H', '3971', 'I', '5841', '299', 'p', '2141', 'n', 'M', 'O', 'A', 'k', '8703', 'B', 3355, 191, 'E', 'I', 'v', 'x', 'M']
Solution:
9145, 6897, r, y, j, 2109, b, 7915, 4187, 9933, 8729, 5749, 3909, h, r, H, 3971, I, 5841, 299, p, 2141, n, M, O, A, k, 8703