2017-2-SFBB

Input:

Output: