$/=\1;$\+=$_ for<>;print