fraction operation added

input replaced by raw_input