#!/usr/bin/ksh

input=$1
output=`grep [a-z,A-Z,0-9] $input | tail -1 | tr -d '$'`
echo $output
exit
