two integer sequence exist initially strictly increase strictly decreasingstrictly increase sequence sequence integer x_1 x_2 dot x_k and strictly decrease sequence sequence integer y_1 y_2 dot y_l note sequence sequence consist element consider increase decreasingelement increase sequence insert element decrease possibly element element change order for example sequence 1 3 4 10 4 2 produce follow result sequence 10 textbf1 textbf3 4 2 textbf4 textbf1 textbf3 textbf4 10 4 2 the follow sequence result insertion textbf1 10 textbf4 4 textbf3 2 order element increase sequence changedLet obtain sequence this sequence give input your task find suitable initial sequence one strictly increase strictly decrease note sequence sequence consist element consider increase decreasingif contradiction input impossible split give sequence increase sequence decrease sequence print NO