767b专题

【Codeforces Round #398 (Div. 2)】Codeforces 767B The Queue

Finally! Vasya have come of age and that means he can finally get a passport! To do it, he needs to visit the passport office, but it’s not that simple. There’s only one receptionist at the passpor