In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['g', 7711, 3869, 'r', 2365, 'o', 'v', 'u', 6267, 7043, '4151', '6507', 'T', '37', 'h', '8923', '7061', 'v', 'd', 'h', 'D', '1165', 'O', '5097', 'c', 'B', '1111', 'L', 'c', 'n', 6809, 7761, 'e', 'f'], ['H', 7965, 7495, 'b', 'v', 'B', '4151', '6507', 'T', '37', 'h', '8923', '7061', 'v', 'd', 'h', 'D', '1165', 'O', '5097', 'c', 'B', '1111', 'L', 'd', 'q', 'x', 1039, 5983, 'F', 6229, 'Q']