init=`grep F OSZICAR | awk {'print $3*1'} | head -n1`
final=`grep F OSZICAR | awk {'print $3*1'} | tail -n1`
pwd
echo "$init - $final" | bc -l