codeforces 433B, aizu ALDS1~5D/7D