awk '$0=$0%2?1:$0/2+1'