In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['U', 'i', 'n', 9147, 827, 4537, 'K', 5317, 't', 'Y', 671, 4435, 6991, 'C', '2131', 'y', '8909', 'A', '6185', 'Y', '5033', '107', '305', 'o', '263', 'u', '9049', '3561', 'p', '5765', '2611', '1271', 'Q', '1355', 'L', 'p', 3723, 7755, 'N', 9499, 'M', 9687, 'V', 1313, 'U', 8877, 'f', 'Q', 'z', 'c', 369, 'q', 'Q'], ['w', 7259, '2131', 'y', '8909', 'A', '6185', 'Y', '5033', '107', '305', 'o', '263', 'u', '9049', '3561', 'p', '5765', '2611', '1271', 'Q', '1355', 'L', 'g', 6529, 4457, 1211, 5537, 5621, 'x', 5161, 6781, 9153, 'F', 3011, 1659, 2807, 8523, 'j']