Read atomname from input to array,write from array