In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3925, 'H', 'O', 3351, 'x', '2449', '8947', '4027', 'N', 's', '3047', 'h', 'Y', 'A', '9295', 'c', 'Z', 'Q', 1053, 6639, 3745, 'V', 'R', 'N', 8239, 'q', 8367], ['R', 265, 2069, 'H', 'n', '2449', '8947', '4027', 'N', 's', '3047', 'h', 'Y', 'A', '9295', 'c', 'h', 'v']