Problem:


Score : 100 points

Problem Statement

You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above.

The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?

Constraints

-40 \leq X \leq 40

X is an integer.

Input

Input is given from Standard Input in the following format:

X

Output

Print Yes if you will turn on the air conditioner; print No otherwise.

Sample Input 1

25

Sample Output 1

No

Sample Input 2

30

Sample Output 2

Yes



Sample input:
25


Sample output:
No

Submission status: Runtime Error

Solution code:
from sys import stdin

a = stdin.readline().rstrip()
if a>=30:
  print ("Yes")
  else:
    print("No")

Submission status: Runtime Error

Solution code:
x = input().split()
if x >= 30:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
temp = input()

if int(temp) => 30 :
	print("Yes")
else :
	print("No")

Submission status: Runtime Error

Solution code:
temp = int(input())

if temp => 30 :
	print("Yes")
else :
	print("No")

Submission status: Runtime Error

Solution code:
temp = input()

if int(temp) => 30
	print("Yes")
else
	print("No")

Submission status: Runtime Error

Solution code:
temp = int(input())

if temp => 30
	print("Yes")
else
	print("No")

Submission status: Runtime Error

Solution code:
import sys

x = input()
if( x >= 30):
  print("Yes")
else :
  print("No")

Submission status: Runtime Error

Solution code:
x = input()
if( x >= 30):
  print("Yes")
else :
  print("No")

Submission status: Runtime Error

Solution code:
x = input()

if x >= 30:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
tem = input("気温を入力してください:")

if tem >= 30:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
tem = input("気温を入力してください:")
if tem >= 40:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
while True:
  tem = input("気温を入力してください:")
  if -40<=tem<=40 and type(t) == "<Class 'int'>":
    break
  
if tem >= 40:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
x=int(input())
if (x>=30):
  print(‘Yes’)
else:
  print(‘No’)

Submission status: Runtime Error

Solution code:
X = (int)input()

if X >= 40:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
N,D=input().split()
n=int(N)
d=int(D)
count=0
for i in range(n):
  X,Y=input().split()
  x=int(X)
  y=int(Y)
  distance=x*x+y*y
  if distance<=d*d:
    count+=1
print(count)

Submission status: Runtime Error

Solution code:
x = input()
if x >= 30:
  print("Yes")
else : print("No")

Submission status: Runtime Error

Solution code:
x = input()
if x >= 30:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
X=input()
if X<30:
    print("No\n")
else:
    print("Yes\n")

Submission status: Runtime Error

Solution code:
if X >= 30:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
X = input()

if X >= 40:
    print('YES')
else:
    print('NO')

Submission status: Runtime Error

Solution code:
t = int(input())
if t >=30 print("Yes")
else print("No")

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;

int main() {
	int x;
	cin >> x;
	if (x >= 30) cout << "Yes" << endl;
	else cout << "No" << endl;
}

Submission status: Runtime Error

Solution code:
X = input(int())
 
if 30 <= X  :
	print("Yes")
else :
    print("No")

Submission status: Runtime Error

Solution code:
X = input()
 
if 30 =< X :
	print("Yes")
else :
    print("No")

Submission status: Runtime Error

Solution code:
X = input()
 
if 30 <= X :
	print("Yes")
else :
    print("No")

Submission status: Runtime Error

Solution code:
X=input(
if 30<=X :
	print("Yes")
else :
    print("No")

Submission status: Runtime Error

Solution code:
X=input()
 
if 30<=X :
	print("Yes")
else :
    print("No")

Submission status: Runtime Error

Solution code:
X=input()
 
if 30<=X :
  print("Yes")
else :
  print("No")

Submission status: Runtime Error

Solution code:
X=input(int())
 
if X=>30 :
  print("Yes")
else :
  print("No")

Submission status: Runtime Error

Solution code:
X=input()
 
if X=>30. :
  print("Yes")
else :
  print("No")

Submission status: Runtime Error

Solution code:
X=input()

if X=>30 :
  print("Yes")
else :
  print("No")

Submission status: Runtime Error

Solution code:
X = input()
if X>=30:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
M,N = map(int, input().split())
count = 0
for _ in range(M):
    a, b = map(int, input().split())
    X = a*a + b*b
    if X <= N*N:
        count += 1
 
print(count)

Submission status: Runtime Error

Solution code:
def main():
    line=stdin.readline()
    parts=line.split()
    a=int(parts[0])
    if a>=30:
        stdout.write("Yes")
    else:
        stdout.write("N")
main()

Submission status: Runtime Error

Solution code:
n=input()

if 30<=n:
    print('Yes')
else :
    print('No')

Submission status: Runtime Error

Solution code:
N, D = map(int, input().split())
count = 0
for i in range(N):
    x, y = map(int, input().split())
    if x^2+y^2 <= D^2:
      count += 1
print(count)

Submission status: Runtime Error

Solution code:
n,d=map(int,input().split())

a=0

for i in range(n):
  x,y=map(int, input().split())
  if x**2 + y**2 <= d**2:
    a+=1
    
print(a)

Submission status: Runtime Error

Solution code:
x = input()
if x>= 30:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
N,D = map(int, input().split())

A = 0

for i in range(N):
  X,Y = map(int, input().split())
  
for g in range(N):
  if X**2 + Y**2 <= D**2:
    A += 1
    
print(A)

Submission status: Runtime Error

Solution code:
n,d=map(int,input().split())
ctr=0
for i in range(n):
  x,y=map(int,input().split())
  t=(x**2+y**2)**(1/2)
  if t<=d:
    ctr+=1
print(ctr)

Submission status: Runtime Error

Solution code:
X=int(input())
if 30<=X<=40:
   print("Yes")
elif:-40<=X<30
   print("No")

Submission status: Runtime Error

Solution code:
X=int(input("X:"))
if 30<=X<=40:
	print("Yes")
elif:-40<=X<30
	print("No")

Submission status: Runtime Error

Solution code:
X=int(input("X="))
if 30<=X<=40:
    print("Yes")
elif:-40<=X<30
    print("No")

Submission status: Runtime Error

Solution code:
X=int(input("X="))
if 30<=X<=40:
   print("Yes")
elif:-40<=X<30
   print("No")

Submission status: Runtime Error

Solution code:
n,d=map(int,input().split())
ctr=0
for i in range(n):
  x,y=map(int,input().split())
  if float((x**2+y**2)**(1/2))>=float(d):
    ctr+=1
print(ctr)

Submission status: Runtime Error

Solution code:
n,d=map(int,input().split())
ctr=0
for i in range(n):
  x,y=map(int,input().split())
  if (x**2+y**2)**(1/2)>=d:
    ctr+=1
print(ctr)

Submission status: Runtime Error

Solution code:
n,d=map(int,input().split())
ctr=0
for i in range(n):
  x,y=map(int,input().split())
  if (x**2+y**2)**(1/2)==d:
    ctr+=1
print(ctr)

Submission status: Runtime Error

Solution code:
X = int(input)

if X >= 30:
  print('yes')
else:
  print('no')

Submission status: Runtime Error

Solution code:
a=int(input())
if a=>30:
  print('Yes')
else:
  print('No')

Submission status: Runtime Error

Solution code:
X = input()
threshold=30
if X > threshold:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
X=input(int)
threshold=30
if X > threshold:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
X=raw_input(int)

threshold=30
if X > threshold:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
N,D=map(int,input().split())
ans=0

for i in  range(N):
    x,y=map(int,input().split())
    if(D*D>=x*x+y*y):ans+=1
    
    
print(ans)

Submission status: Runtime Error

Solution code:
X=input()

if X >= 30:
  return Yes
else:
  return No

Submission status: Runtime Error

Solution code:
-40<=a<=40
X=int('a')
if int(a)>=30:
    print('Yes')
    else:
        print('No')

Submission status: Runtime Error

Solution code:
-40<=a<=40
X=int(a)
if int(a)>=30:
    print('Yes')
    else:
        print('No')

Submission status: Runtime Error

Solution code:
-40<=a<=40
X=int(a)
if int(a)=>30:
    print('Yes')
    else:
        print('No')

Submission status: Runtime Error

Solution code:
-40<=a<=40
X==int(a)
if int(a)=>30:
    print('Yes')
    else:
        print('No')

Submission status: Runtime Error

Solution code:
from collections import Counter, defaultdict, deque
import bisect
from sys import stdin, stdout
from itertools import repeat
import math
 
# sys.stdin = open('input')
 
def inp(force_list=False):
    re = map(int, raw_input().split())
    if len(re) == 1 and not force_list:
        return re[0]
    return re
 
def inst():
    return raw_input().strip()
 
def gcd(x, y):
   while(y):
       x, y = y, x % y
   return x
 
mod = 1000000007
def idx(c):
    return ord(c) - ord('a')

class Fenwick(object):
    def __init__(self, n):
        self.n = n
        self.da = [0] * n
    
    def add(self, pos, x):
        while pos < self.n:
            self.da[pos] += x
            pos |= pos + 1

    def ps(self, pos):
        re = 0
        while pos >= 0:
            re += self.da[pos]
            pos &= pos + 1
            pos -= 1
        return re

    def sum(self, x, y):
        return self.ps(y) - self.ps(x-1)

def my_main():
    n, nq = inp()
    da = inp(True)
    q = []
    for i in range(nq):
        l, r = inp()
        q.append((l, r, i))
    q.sort(key=lambda e:e[-2])
    mp = [-1] * (510000)
    now = -1
    fw = Fenwick(n)
    ans = [0] * nq
    for l, r, idx in q:
        l -= 1
        r -= 1
        while now < r:
            now += 1
            if mp[da[now]]!=-1:
                fw.add(mp[da[now]], -1)
            mp[da[now]] = now
            fw.add(now, 1)
        ans[idx] = fw.sum(l, r)

    print '\n'.join(map(str, ans))



my_main()

Submission status: Runtime Error

Solution code:
from collections import Counter, defaultdict, deque
import bisect
from sys import stdin, stdout
from itertools import repeat
import math
 
# sys.stdin = open('input')
 
def inp(force_list=False):
    re = map(int, raw_input().split())
    if len(re) == 1 and not force_list:
        return re[0]
    return re
 
def inst():
    return raw_input().strip()
 
def gcd(x, y):
   while(y):
       x, y = y, x % y
   return x
 
mod = 1000000007
def idx(c):
    return ord(c) - ord('a')

class Fenwick(object):
    def __init__(self, n):
        self.n = n
        self.da = [0] * n
    
    def add(self, pos, x):
        while pos < self.n:
            self.da[pos] += x
            pos |= pos + 1

    def ps(self, pos):
        re = 0
        while pos >= 0:
            re += self.da[pos]
            pos &= pos + 1
            pos -= 1
        return re

    def sum(self, x, y):
        return self.ps(y) - self.ps(x-1)

def my_main():
    n, nq = inp()
    da = inp()
    q = []
    for i in range(nq):
        l, r = inp()
        q.append((l, r, i))
    q.sort(key=lambda e:e[-2])
    mp = [-1] * (n+5)
    now = -1
    fw = Fenwick(n)
    ans = [0] * nq
    for l, r, idx in q:
        l -= 1
        r -= 1
        while now < r:
            now += 1
 
            if mp[da[now]]!=-1:
                fw.add(mp[da[now]], -1)
            try:
                mp[da[now]] = now
            except:
                pass
            fw.add(now, 1)
        ans[idx] = fw.sum(l, r)

    print '\n'.join(map(str, ans))


            

 
 
 
 
my_main()

Submission status: Runtime Error

Solution code:
X = input()
if X>=30:
  print('Yes')
else:
  print('No')

Submission status: Runtime Error

Solution code:
X=input()
if X<30:
    print("NO\n")
else:
    print("YES\n")

Submission status: Runtime Error

Solution code:
if input() >= 30:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
if X >= 30:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
if X < 30:
  print('No')
else:
  print('Yes')

Submission status: Runtime Error

Solution code:
read X as int
if X >= 30:
	write "Yes"
else:
	write "No"

Submission status: Runtime Error

Solution code:
a = int(input())
if a>=30:
  print("Yes")
else
  print("No")

Submission status: Runtime Error

Solution code:
X=int(input())
if x>=30:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
X=int(input())
if x>=30:
  print(Yes)
else:
  print(No)

Submission status: Runtime Error

Solution code:
if input() => 30:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
if input() >=30:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
#include <iostream>
#include <string>
#include <algorithm>

using namespace std;
int main()
{
    int X;
    cin >> X;

    if(X >= 30){
        cout << "Yes";
    }else{
        cout << "No";
    }

    return 0;
}

Submission status: Runtime Error

Solution code:
a=input()
text=int(a)
if text>=30
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
t = input()

if t >= 30:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
a=input()
text=int(a)
if text>=30
  print('Yes')
else:
  print('No')

Submission status: Runtime Error

Solution code:
N = int(input())
C=list(input())
L=0
R=0
X=0
for i in range(N):
  L=i
  if L==N-1-R:
    break
  if C[i]=='W':
    for ii in range(N-L-R):
      R+=ii 
      if C[N-1-R]=='R':
        C[L]='R'
        C[N-1-R]='W'
        X+=1
        R+=1
        if L==N-1-R:
          break
        break
print(X)

Submission status: Runtime Error

Solution code:
x=input()
if(x>=30):
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
temp= int(input("enter the temperature")
if(temp>=30):
          print("YES")
else:
          print("NO")

Submission status: Runtime Error

Solution code:
N = input()

A = int(N)

if A>=30:
  return 'Yes'
else:
  return 'No'

Submission status: Runtime Error

Solution code:
function ifSwithOn(int x):
  if(x >= 30):
    return Yes
   else:
    return No

Submission status: Runtime Error

Solution code:
function ifSwithOn(int x):
  if(x > 30):
    print("Yes")
   else:
    print("No")

Submission status: Runtime Error

Solution code:
if X >= 30 and X <= 40:
  print('Yes')
elif 
  print('No')

Submission status: Runtime Error

Solution code:
If x => 30:
  print(yes)
  
else:
  print(No)

Submission status: Runtime Error

Solution code:
x=int(input())
if(x>=30):
  print("Yes")
else:
  prinit("No")

Submission status: Runtime Error

Solution code:
N, D = map(int, input().split())

count = 0

for i in range(N):
  x, y = map(int, input().split())
  if D > pow(x**2+y**2, 0.5):
    count += 1
  else:
    continue
    
print(count)

Submission status: Runtime Error

Solution code:
x = int(input())
if x>=30:
  print("Yes")
  else:
    print("No")

Submission status: Runtime Error

Solution code:
temperature = input()
if temperature > 30:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
import sys
import math

input = sys.stdin.readline

def can(arr, m, K):
  need = 0
  for x in arr:
    need += int(x // m)
  return need <= K

N, K = map(int, input().split())
arr = list(map(int, input().split()))
arr = sorted(arr)

lo = 0.0
hi = 1e9

while (abs(lo - hi) > 1e-5):
  m = (lo + hi) / 2.0
  if (can(arr, m, K)):
    hi = m
  else:
    lo = m
ans = lo

print(int(math.ceil(lo)))

Submission status: Runtime Error

Solution code:
x = input()
if x >= 30:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
n = int(input())
if n>=30:
  print("Yes)
else:
  print("No")

Submission status: Runtime Error

Solution code:
    n = int(input())
    if n >= 30:
      s = 'Yes'
    else:
      s = 'No'
    print(s)

Submission status: Runtime Error

Solution code:
x = input()

if -40 <= x and x <= 40:
    if x >= 30:
        print("Yes")
    else:
        print("No")

Submission status: Runtime Error

Solution code:
x = input()

if x >= 30:
  print('Yes')
elif x < 30:
  print('No')
else:
  print('No')

Submission status: Runtime Error

Solution code:
x = input()

if x >= 30:
  print('Yes')
elif x < 30:
  print('No')

Submission status: Runtime Error

Solution code:
import numpy as np

N, Q = input().split()
cn = np.array(input().split(), np.int64)

for _ in range(int(Q)):
  i, j = input().split()
  if i == j:
    print(1)
	print(np.unique(cn[int(i)-1: int(j)]).size)

Submission status: Runtime Error

Solution code:
import numpy as np

N, Q = input().split()
cn = np.array(input().split(), np.int64)

for _ in range(int(Q)):
  i, j = input().split()
  print(np.unique(cn[int(i)-1: int(j)]).size)

Submission status: Runtime Error

Solution code:
import bisect
def main():
    N, Q = map(int, input().split())
    C = list(map(int, input().split()))
    E = []

    D = {C[i]: -1 for i in range(N)}
    for i in range(N):
        if D[C[i]] == -1:
            D[C[i]] = i
        else:
            E.append((D[C[i]], i, -1))
            D[C[i]] = i

    for i in range(Q):
        l, r = map(int, input().split())
        E.append((l - 1, r - 1, i))

    def f(tup):
        return tup[0]
    E.sort(key=f, reverse=True)

    ANS = [0] * Q
    y_list = []
    for e in E:
        if e[2] == -1:
            y_list.append(e[1])
            y_list.sort()
        else:
            ans = bisect.bisect_right(y_list, e[1])
            ANS[e[2]] = e[1] - e[0] + 1 - ans

    for i in range(Q):
        print(ANS[i])

if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
def main():
    N,D=map(int,input().split())
    ans=0
    for i in range(N):
        x,y=map(int,input().split())
        if x^2+y^2<=D^2:
            ans+=1
    print(ans)

main()

Submission status: Runtime Error

Solution code:
def main():
    N,D=map(int,input().split())
    ans=0
    for _ in range(N):
        x,y=map(int,input().split())
        if x^2+y^2<=D^2:
            ans+=1
    print(ans)

main()

Submission status: Runtime Error

Solution code:
X = int(input())
if X >= 30:
  print('Yes')
else:
  print('No'9)

Submission status: Runtime Error

Solution code:
if X >= 30:
  print('Yes')
else :
  print('No')

Submission status: Runtime Error

Solution code:
def yesNo(X):
  if X <= 30:
    print('Yes')
  else:
    print('No')

yesNo(X)

Submission status: Runtime Error

Solution code:
X = int(input())
if X >= 30:
  return 'Yes'
else:
  return 'No'

Submission status: Runtime Error

Solution code:
X = input()
if X >= 30:
  return 'Yes'
else:
  return 'No'

Submission status: Runtime Error

Solution code:
if X >= 30:
  return 'Yes'
else:
  return 'No'

Submission status: Runtime Error

Solution code:
n = input()
if n >= 30:
  print(Yes)
else:
  print(No)

Submission status: Runtime Error

Solution code:
# 入力
X = input()

# 以下に回答を記入
if X >= 30:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
a = int(input)
if a >= 30:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
x = int(input().split())

if x >= 30:
  ans = 'Yes'
else:
  ans = 'No'

print(ans)

Submission status: Runtime Error

Solution code:
a = int(input())
if (a >= 30):  
    print("Yes")
else
	print("No")

Submission status: Runtime Error

Solution code:
x = int(input())
b = x - 30
if b => 0:
  print('Yes')
else:
  print("No")

Submission status: Runtime Error

Solution code:
X = int(input())
If X >= 30:
print("Yes")
else:
print("No")

Submission status: Runtime Error

Solution code:
X = int(input())
If X >= 30:
print ('Yes')
else:
print('No')

Submission status: Runtime Error

Solution code:
X = int(input())
If X => 30:
print ('Yes')
else:
print('No')

Submission status: Runtime Error

Solution code:
X = int(input())
If X =< 30:
print ('Yes')
else:
print('No')

Submission status: Runtime Error

Solution code:
tep = input()
if tep<-40 or tep>40:
  break
elif tep >=30:
  print('Yes')
else:
  print('No')

Submission status: Runtime Error

Solution code:
n = int(input())
if n > 30:
  prtin('Yes')
 else:
  print('No')

Submission status: Runtime Error

Solution code:
n = int(input())
if n >= 30:
  prtin('Yes')
 else:
  print('No')

Submission status: Runtime Error

Solution code:
X = input()
ans = 'Yes' if X >= 30 else 'No'
print(ans)

Submission status: Runtime Error

Solution code:
tep = input()
if tep>=30:
  print('Yes')
else :
  print('No')

Submission status: Runtime Error

Solution code:
tep = input()
if tep>=30:
	print('Yes')
else:
	print('No')

Submission status: Runtime Error

Solution code:
#include <stdio.h>

int main(){
  int x;
  scanf("%d", &x);
  
  if (x >= 30){
    printf("Yes\n");
  }
  else{
    printf("No\n");
  }
  
  return 0;
}

Submission status: Runtime Error

Solution code:
x = int(input)
if x<30:
  print('Yes')
 else:
  print('No')

Submission status: Runtime Error

Solution code:
x = int(input())
if x>=30:
  print(Yes)
else:
  print(No)

Submission status: Runtime Error

Solution code:
int(x)=input()

if x>=30:
    print('Yes')
else:
    print("No")

Submission status: Runtime Error

Solution code:
x=int(input())
if x>=30:
  print(Yes)
 else:
  print(No)

Submission status: Runtime Error

Solution code:
return int(input()) >= 30

Submission status: Runtime Error

Solution code:
if int(input()) >= 30:
  print("Yes")
lese:
  print("No")

Submission status: Runtime Error

Solution code:
X = input()
if X >= 30:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
def close_aircondition(x):
  if x >= 30:
    print("Yes")
  else:
    print('No')

if __name__ == "__main__":
  X = input()
  close_aircondition(X)

Submission status: Runtime Error

Solution code:
if(x>=30):
  print("Yes")
else
  print("No")

Submission status: Runtime Error

Solution code:
import math
L, M = map(int,input().split())
list1=[]
for i in range(L):
  X,Y = map(int,input().split())
  r = X**2+Y**2
  if r <= M**2:
    list1.append(r)
print(len(list1))

Submission status: Runtime Error

Solution code:
n,k=map(int,input().split())
A=list(map(int,input().split()))
r=max(A)
l=0
while l+1<r:
    mid=(l+r)//2
    if sum([(a-1)//mid for a in A])>=k:
        l=mid
    else:
        r=mid

print(l)

Submission status: Runtime Error

Solution code:
X = int(input())
if 30 <= x:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
x = input()
if(x>=30):
    print("Yes")
if(x<30):
    print("No")

Submission status: Runtime Error

Solution code:
x = int(input())

if x>=30:
  print('Yes')
elif :
  print('No')

Submission status: Runtime Error

Solution code:
x = input()

if x>=30:
  print('Yes')
elif :
  print('No')

Submission status: Runtime Error

Solution code:
input(x)

if x>=30:
  print('yes')
else :
  print('No')

Submission status: Runtime Error

Solution code:
input(x)

if 30<=x<=40:
  print('yes')
else :
  print('No')

Submission status: Runtime Error

Solution code:
n = int(input())
cnt = 0
ans = 0
while(cnt<1000001):
  	cnt += 1
  	ans = (ans*10 + 7)%n
  	if ans == 0:
    	print(cnt)
    
   		break
else:
  
	print(-1)

Submission status: Runtime Error

Solution code:
if X =>30 :
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
if X <= 30
print(yes)
else 
print (no)

Submission status: Runtime Error

Solution code:
if X >= 30
return 'yes'
else 
return 'no'

Submission status: Runtime Error

Solution code:
a = int(input())
if a >= 30:
  return "Yes"
else:
  return "No"

Submission status: Runtime Error

Solution code:
t = int(input())
if t > == 30:
  print('Yes')
else:
  print('No')

Submission status: Runtime Error

Solution code:
temperature = int(input())
if tamperature < == 30:
  print('No)
else:
  print('Yes)

Submission status: Runtime Error

Solution code:
n = int(input())
c = input()

wcount = c.count('R')
count = 0

for i in range(n):
    if c[i] == 'W' and i<= wcount:
        count += 1
print(count)

Submission status: Runtime Error

Solution code:
a = int(input())
print(a > 29 and 'Yes' or 'No)

Submission status: Runtime Error

Solution code:
    x = int(input())

    if x >= 30:
        print("Yes")
    else:
        print("No")

Submission status: Runtime Error

Solution code:
int(X)
if X >= 30 :
  print("Yes")
else :
  print("No")

Submission status: Runtime Error

Solution code:
x=input()
if x >=30:
  print("yes")
else:
  print("no")

Submission status: Runtime Error

Solution code:
X = int(input())
print("YNeos")[X>29::2]

Submission status: Runtime Error

Solution code:
X = int(input())
print("YNeos")[x>29::2]

Submission status: Runtime Error

Solution code:
print("Yes" if int(input())>="30" else "No")

Submission status: Runtime Error

Solution code:
import sys
import numpy as np
# from numba import njit#,i8

#@njit(cache=True)
# @jit(返り値の型(引数1の型,引数2の型,．．．,引数nの型))
#@jit(i8[:](i8,i8,i8[:],i8[:,:],i8[:],i8[:],i8[:]))
def main(N,Q,C,queries,orderByR,mostRightColorIndex,bitArray):

	def add(itemCount, items, i, value):
		while i <= itemCount:
			items[i] += value
			i += (i & (-i))

	def sumFromStart(items, end):
		summary = 0
		i = end
		while i > 0:
			summary += items[i]
			i -= (i & (-i))
		return summary

	def sum(items, start,end):
		summary = sumFromStart(items, end) - sumFromStart(items, start-1)
		return summary

	# 答え配列
	ans=np.zeros(Q, dtype=np.int64)
	#ans=[0]*Q
	# 左からBITと現在色の更新をしながら、クエリのrightに到達したときにBITにクエリ発行する
	qindex = 0

	for n in range(N):
		# 外側のループでは、全部の色をループ

		if Q <= qindex:
			break

		if 0 < mostRightColorIndex[C[n]]:
			# ループ中の場所の色のindexが既にある場合(=過去に、同じ色が登録されていた場合)
			# 今回で、同じ色の一番右側の要素はループ中の要素になる
			# 前登録したこの色の一番右のindexを一度BITから抜く(↓で再度登録される)
			add(N,bitArray,mostRightColorIndex[C[n]], -1 )

		# この要素の色の一番右のindexを、BITに登録
		mostRightColorIndex[C[n]] = n+1
		add(N,bitArray,n+1, 1)

		# while qindex < Q and n+1 == queries[qindex][2]:
		while qindex < Q and n+1 == queries[orderByR[qindex]][1]:
			# 今のBITが次のクエリ発行するための状態(n==query.right)だったら、クエリ発行
			tmpIndex = orderByR[qindex]
			start = queries[tmpIndex][0]
			end = queries[tmpIndex][1]
			ans[tmpIndex]=sum(bitArray,start,end)
			# print(tmpIndex,start,end,ans[tmpIndex])
			qindex += 1

	return ans

if sys.argv[-1]=='ONLINE_JUDGE':
	from numba import njit
	from numba.pycc import CC
	cc=CC('my_module')
	cc.export('main','i8[:](i8,i8,i8[:],i8[:,:],i8[:],i8[:],i8[:])')(main)
	main=njit(main, cache=True)
	cc.compile()
	exit(0)
from my_module import main
#from numba import njit
#main=njit('i8[:](i8,i8,i8[:],i8[:,:],i8[:],i8[:],i8[:])', cache=True)(main)



def input(): return sys.stdin.readline()

N,Q = map(int,input().split())

C=np.array(input().split(), int)

# Query取得-rightでソート
# dtypeQuery = [("index", int), ("start", int), ("end", int)]
queries=np.empty((Q,2),int)
# #rights=[[] for _ in range(N+1)]

for q in range(Q):
	l,r=map(int,input().split())
	#queries[q] = (q,l,r)
	queries[q][0] = l
	queries[q][1] = r
	#queries=np.sort(queries,order="end")

#queries=np.array(sys.stdin.buffer.read().split(),int).reshape(Q,2)

orderByR=np.argsort(queries[:,1])

# 各色の現在の一番右のindex
mostRightColorIndex = np.zeros(N+1, int)
# bit indexed tree
bitArray=np.zeros(N+1,int)

for a in main(N,Q,C,queries,orderByR,mostRightColorIndex,bitArray):
	print(a)

Submission status: Runtime Error

Solution code:
yha

Submission status: Runtime Error

Solution code:
aaa

Submission status: Runtime Error

Solution code:
temp=int(input())
if temp >= 30 :
    answer = Yes
else:
    answer = No
print(answer)

Submission status: Runtime Error

Solution code:
a

Submission status: Runtime Error

Solution code:
aaaa

Submission status: Runtime Error

Solution code:
s = input()
tem=str(s)
if tem>=30:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
unko

Submission status: Runtime Error

Solution code:
x = int(input())
if x>=30:
  print("Yes")
else:
  praint("No")