Buggy python submission (verdict: Runtime Error):
from __future__ import division
while True:
    try:
        s=raw_input().rstrip().split()
    except EOFError:
        break
    L=[]
    for d in s:
        if d.isdigit():
            L.append(int(d))
        else:
            op1=L.pop()
            op2=L.pop()
            if d=="-":
                L.append(op2-op1)
            elif d=="+":
                L.append(op2+op1)
            elif d=="*":
                L.append(op2*op1)
            else:
                L.append(op2/op1)
    print L[0]

Fixed submission:
import sys
for s in sys.stdin.readlines():
    L=[]
    for d in s.strip().split():
        if d=="-":
            d=(-(L.pop()-L.pop()))
        elif d=="+":
            d=(L.pop()+L.pop())
        elif d=="*":
            d=(L.pop()*L.pop())
        elif d=="/":
            d=(1/L.pop()*L.pop())
        L.append(float(d))
    print "%.6f"%L[0]

Buggy python submission (verdict: Runtime Error):
while True:
    try:
        s=raw_input().rstrip().split()
    except EOFError:
        break
    L=[]
    for d in s:
        if d.isdigit():
            L.append(float(d))
        else:
            op1=L.pop()
            op2=L.pop()
            if d=="-":
                L.append(op2-op1)
            elif d=="+":
                L.append(op2+op1)
            elif d=="*":
                L.append(op2*op1)
            else:
                L.append(op2/op1)
    print L[0]

Fixed submission:
import sys
for s in sys.stdin.readlines():
    L=[]
    for d in s.strip().split():
        if d=="-":
            d=(-(L.pop()-L.pop()))
        elif d=="+":
            d=(L.pop()+L.pop())
        elif d=="*":
            d=(L.pop()*L.pop())
        elif d=="/":
            d=(1/L.pop()*L.pop())
        L.append(float(d))
    print "%.6f"%L[0]

Buggy python submission (verdict: Runtime Error):
while True:
    try:
        s=raw_input().strip().split()
    except EOFError:
        break
    L=[]
    for d in s:
        if not d.isdigit():
            op1=L.pop()
            op2=L.pop()
            if d=="-":
                L.append(op2-op1)
            elif d=="+":
                L.append(op2+op1)
            elif d=="*":
                L.append(op2*op1)
            else:
                L.append(op2/op1)
        else:
            L.append(float(d))
    print L[0]

Fixed submission:
import sys
for s in sys.stdin.readlines():
    L=[]
    for d in s.strip().split():
        if d=="-":
            d=(-(L.pop()-L.pop()))
        elif d=="+":
            d=(L.pop()+L.pop())
        elif d=="*":
            d=(L.pop()*L.pop())
        elif d=="/":
            d=(1/L.pop()*L.pop())
        L.append(float(d))
    print "%.6f"%L[0]

Buggy python submission (verdict: Runtime Error):
while True:
    try:
        s=raw_input().strip().split()
    except EOFError:
        break
    L=[]
    for d in s:
        if d.isdigit():
            L.append(float(d))
        else:
            op1=L.pop()
            op2=L.pop()
            if d=="-":
                L.append(op2-op1)
            elif d=="+":
                L.append(op2+op1)
            elif d=="*":
                L.append(op2*op1)
            elif d=="/":
                L.append(op2/op1)
    print L[0]

Fixed submission:
import sys
for s in sys.stdin.readlines():
    L=[]
    for d in s.strip().split():
        if d=="-":
            d=(-(L.pop()-L.pop()))
        elif d=="+":
            d=(L.pop()+L.pop())
        elif d=="*":
            d=(L.pop()*L.pop())
        elif d=="/":
            d=(1/L.pop()*L.pop())
        L.append(float(d))
    print "%.6f"%L[0]

Buggy python submission (verdict: Runtime Error):
import sys
for s in sys.stdin.readlines():
    L=[]
    for d in s:
        if d.isdigit():
            L.append(float(d))
        else:
            op1=L.pop()
            op2=L.pop()
            if d=="-":
                L.append(op2-op1)
            elif d=="+":
                L.append(op2+op1)
            elif d=="*":
                L.append(op2*op1)
            elif d=="/":
                L.append(op2/op1)
    print L[0]

Fixed submission:
import sys
for s in sys.stdin.readlines():
    L=[]
    for d in s.strip().split():
        if d=="-":
            d=(-(L.pop()-L.pop()))
        elif d=="+":
            d=(L.pop()+L.pop())
        elif d=="*":
            d=(L.pop()*L.pop())
        elif d=="/":
            d=(1/L.pop()*L.pop())
        L.append(float(d))
    print "%.6f"%L[0]

Buggy python submission (verdict: Runtime Error):
import sys
for s in sys.stdin.readlines():
    L=[]
    for d in s:
        if d=="-":
            L.append(-(L.pop()-L.pop()))
        elif d=="+":
            L.append(L.pop()+L.pop())
        elif d=="*":
            L.append(L.pop()*L.pop())
        elif d=="/":
            L.append(1/L.pop()*L.pop())
        L.append(float(d))
    print L[0]

Fixed submission:
import sys
for s in sys.stdin.readlines():
    L=[]
    for d in s.strip().split():
        if d=="-":
            d=(-(L.pop()-L.pop()))
        elif d=="+":
            d=(L.pop()+L.pop())
        elif d=="*":
            d=(L.pop()*L.pop())
        elif d=="/":
            d=(1/L.pop()*L.pop())
        L.append(float(d))
    print "%.6f"%L[0]