Buggy python submission (verdict: Runtime Error):
s = input()
if s == "RRR":
  print(3)
  elif s == "RRS" or s == "SRR":
    print(2)
    elif s == "SSS":
      print(0)
      else:
        print(1)

Fixed submission:
s = input()
if s == "RRR":
  print(3)
if s == "SSS":
  print(0)
if s == "RRS":
  print(2)
if s == "SRR":
  print(2)
if s == "RSS":
  print(1)
if s == "SRS":
  print(1)
if s == "SSR":
  print(1)
if s == "RSR":
  print(1)

Buggy python submission (verdict: Runtime Error):
s = str(input())
if "RRR" in s:
  print(3)
  elif "RR" in s:
    print(2)
    elif "SSS" in s:
      print(0)
      else:
        print(1)

Fixed submission:
s = input()
if s == "RRR":
  print(3)
if s == "SSS":
  print(0)
if s == "RRS":
  print(2)
if s == "SRR":
  print(2)
if s == "RSS":
  print(1)
if s == "SRS":
  print(1)
if s == "SSR":
  print(1)
if s == "RSR":
  print(1)

Buggy python submission (verdict: Runtime Error):
s = str(input())
if RRR in s:
  print(3)
  elif RR in s:
    print(2)
    elif SSS in s:
      print(0)
      else:
        print(1)

Fixed submission:
s = input()
if s == "RRR":
  print(3)
if s == "SSS":
  print(0)
if s == "RRS":
  print(2)
if s == "SRR":
  print(2)
if s == "RSS":
  print(1)
if s == "SRS":
  print(1)
if s == "SSR":
  print(1)
if s == "RSR":
  print(1)

Buggy python submission (verdict: Runtime Error):
if S = "RRR":
  print(3)
  elif S = "RRS" or S = "SRR":
    print(2)
    elif S = "SSS":
      print(0)
      else:
        print(1)

Fixed submission:
s = input()
if s == "RRR":
  print(3)
if s == "SSS":
  print(0)
if s == "RRS":
  print(2)
if s == "SRR":
  print(2)
if s == "RSS":
  print(1)
if s == "SRS":
  print(1)
if s == "SSR":
  print(1)
if s == "RSR":
  print(1)

Buggy python submission (verdict: Runtime Error):
s = input()
if s = "RRR":
  print(3)
  elif s = "RRS" or s = "SRR":
    print(2)
    elif s = "SSS":
      print(0)
      else:
        print(1)

Fixed submission:
s = input()
if s == "RRR":
  print(3)
if s == "SSS":
  print(0)
if s == "RRS":
  print(2)
if s == "SRR":
  print(2)
if s == "RSS":
  print(1)
if s == "SRS":
  print(1)
if s == "SSR":
  print(1)
if s == "RSR":
  print(1)

Buggy python submission (verdict: Runtime Error):
S = str(input())
if S = "RRR":
  print(3)
elif S = "RRS" or S = "SRR":
  print(2)
elif S = "RSR":
  print(1)
else S = "SSS":
  print(0)

Fixed submission:
s = input()
if s == "RRR":
  print(3)
if s == "SSS":
  print(0)
if s == "RRS":
  print(2)
if s == "SRR":
  print(2)
if s == "RSS":
  print(1)
if s == "SRS":
  print(1)
if s == "SSR":
  print(1)
if s == "RSR":
  print(1)

Buggy python submission (verdict: Runtime Error):
s = str(input())
if s = "RRR":
  print(3)
elif s = "RRS" or s = "SRR":
  print(2)
elif s = "RSS" or s = "SRS" or s = "SSR" or s = "RSR":
  print(1)
else:
  print(0)

Fixed submission:
s = input()
if s == "RRR":
  print(3)
if s == "SSS":
  print(0)
if s == "RRS":
  print(2)
if s == "SRR":
  print(2)
if s == "RSS":
  print(1)
if s == "SRS":
  print(1)
if s == "SSR":
  print(1)
if s == "RSR":
  print(1)

Buggy python submission (verdict: Runtime Error):
s = str(input())
if s = "RRR":
  print(3)
if s = "RRS" and s = "SRR":
  print(2)
if s = "RSS" and s = "SRS" and s = "SSR" and s = "RSR":
  print(1)
if s = "SSS":
  print(0)

Fixed submission:
s = input()
if s == "RRR":
  print(3)
if s == "SSS":
  print(0)
if s == "RRS":
  print(2)
if s == "SRR":
  print(2)
if s == "RSS":
  print(1)
if s == "SRS":
  print(1)
if s == "SSR":
  print(1)
if s == "RSR":
  print(1)

Buggy python submission (verdict: Runtime Error):
s = str(input())
if s = "RRR":
  print(3)
elif s = "RRS" and s = "SRR":
  print(2)
elif s = "RSS" and s = "SRS" and s = "SSR" and s = "RSR":
  print(1)
else:
  print(0)


Fixed submission:
s = input()
if s == "RRR":
  print(3)
if s == "SSS":
  print(0)
if s == "RRS":
  print(2)
if s == "SRR":
  print(2)
if s == "RSS":
  print(1)
if s == "SRS":
  print(1)
if s == "SSR":
  print(1)
if s == "RSR":
  print(1)

Buggy python submission (verdict: Runtime Error):
s = str(input())
if s.count("R") = 3:
  print(3)
  elif s.count("R") = 2:
    print(2)
    elif s.count("R") = 1:
      print(1)
      else:
        print(0)

Fixed submission:
s = input()
if s == "RRR":
  print(3)
if s == "SSS":
  print(0)
if s == "RRS":
  print(2)
if s == "SRR":
  print(2)
if s == "RSS":
  print(1)
if s == "SRS":
  print(1)
if s == "SSR":
  print(1)
if s == "RSR":
  print(1)