shortened yukicoder solutions
yukicoder 13