Shiva___0503's submissions for second problem