In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7577, 'a', 7087, 'M', 'N', 'N', 'E', 't', '8715', 'D', '8737', 'j', 't', '1095', '1951', 'x', 'd', '785', '1603', '8501', '7375', '383', '1539', 'P', '1565', 'r', 'L', 'o', 'U', 'j', 'y', 'y', 'I', 4609, 1173, 5073, 'v', 'H', 'o', 'g', 'B', 4583, 3535, 8807, 9115, 'h', 7709, 381], ['D', 6567, 3311, 'l', 'q', 'n', 'p', 3207, 4221, 'B', 'X', 'c', 5879, 771, 'A', 5437, 'j', 4913, 'V', 9615, 'I', 'N', 'E', 't', '8715', 'D', '8737', 'j', 't', '1095', '1951', 'x', 'd', '785', '1603', '8501', '7375', '383', '1539', 'P', '1565', 'r', 'L', 'o', 'U', 'j', 'y', 'y', 'R', 5673, 4335, 'Y', 'R', 'F', 'u', 'J', 8011, 643, 2535]