In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5111, 8499, 'N', 561, 5171, 'i', 3245, 8937, 'v', 1191, 'X', 8607, 'B', 'N', 7979, 197, 7563, 'E', 'n', '9369', 'I', '6905', '7271', '9243', 'P', 'y', '5633', 'N', '6471', 'o', 'a', '1219', 'h', 'n', 'S', '4151', 'e', 'R', '2811', '4259', 'f', '3895', 'Z', '667', 'n', 3885, 'd', 2821, 5657], ['A', 1321, 'Q', 'd', 3681, 'k', 1533, 9133, 8437, 'M', 7521, 'p', 't', 5547, 'Y', 9335, 'u', 3481, 309, 'N', 's', 733, 7693, 'n', '9369', 'I', '6905', '7271', '9243', 'P', 'y', '5633', 'N', '6471', 'o', 'a', '1219', 'h', 'n', 'S', '4151', 'e', 'R', '2811', '4259', 'f', '3895', 'Z', '667', 'S', 5719, 'l', 9863, 3415, 'u', 9969, 'q', 't', 'D', 4189, 8391, 'Y', 'P', 7475, 'Y']