$/=words;say $0+>($0%%2)min$1+1