Jupyter Notebook
Untitled
(unsaved changes)
Current Kernel Logo
Python 3 
File
Edit
View
Insert
Cell
Kernel
Widgets
Help

A, B, C = list(map(int, input().split()))

if A == B and B == C:
    re = 'Yes'
else:
    re = 'No'
    
print(re)
A, B, C = list(map(int, input().split()))
​
if A == B and B == C:
    re = 'Yes'
else:
    re = 'No'
    
print(re)
3 4 5
No
1
N = int(input())
s = input()
​
R = 0
B = 0
for c in s:
    if c == 'R':
        R += 1
    else:
        B +=1
        
if R > B:
    re = 'Yes'
else:
    re = 'No'
    
print(re)
4
BRBR
No
​
