In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8049, 'K', 8821, 5321, 25, 7041, 7223, 'B', 8441, 'Z', 'D', 'l', 5983, 'w', 8999, 'K', 1027, 7217, 'D', 'B', 'A', '7877', '7193', '4887', 'x', '6657', 'u', '1179', '1849', 'x', '5371', 'O', '9083', '9551', '8685', '8255', 'L', 'N', 'c', '47', '7577', 'a', 'S', '7621', '5313', 'l', 7729, 'N', 'C', 811], ['I', 5119, 't', 'o', 8407, 'o', 'H', 'B', '7877', '7193', '4887', 'x', '6657', 'u', '1179', '1849', 'x', '5371', 'O', '9083', '9551', '8685', '8255', 'L', 'N', 'c', '47', '7577', 'a', 'S', '7621', '5313', 's', 't', 'p', 'W', 4601, 'N', 961, 'x']