Interesting challenge

+58
CPP
cpp
OUTPUT