In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5947, 7517, 'q', 3649, 'y', 8621, 'x', 'F', 7865, 4767, 'B', 'T', 5115, 6661, 'q', 't', 1963, 6189, 'y', 'I', 6717, 'l', '8137', '8215', 'R', 'x', '4495', 'd', 'Y', '9065', 'S', 'c', 'x', '7017', '4915', 'O', 't', 'x', '6331', 'r', '3495', '2171', '8309', '9555', '679', 'r', 'n', 1913], ['b', 7147, 'l', '8137', '8215', 'R', 'x', '4495', 'd', 'Y', '9065', 'S', 'c', 'x', '7017', '4915', 'O', 't', 'x', '6331', 'r', '3495', '2171', '8309', '9555', '679', 'Q', 'w', 'P', 3183, 'a', 7093, 'i', 357]