Sereja and Two Sequences

Problem Name:
Sereja and Two Sequences
Site:CodeForces
Links:
Tags:
Problem setters: