cf/mirror

The Child and Homework

CF
437A1300· pupil1s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
A.VFleaKing_is_the_author_of_this_problem
B.Picks_is_the_author_of_this_problem
C.Picking_is_the_author_of_this_problem
D.Ftiasch_is_cute
Output
D
Sample 2of 3
Input
A.ab
B.abcde
C.ab
D.abc
Output
C
Sample 3of 3
Input
A.c
B.cc
C.c
D.c
Output
B
437A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)