MCQ Answers:

1. Find x and y - both statements  
2. Praveena - 4 
3. What is speed of boat - statements 1,2 and 3 
4. What is value of x - statements 1 and 2 
5. Rahul,gokul,naren - both statements 1 and 2 
6. If x is positive - 2 
7. Find the perimeter of rectangle - both i and ii are sufficient  
8. What is age of arun's father - both I and ii 
9. Sunil - 4
10. What is height of ladder - both I and ii 
11. What is age of girl's father- statements 1 and 3 
12. Find x^15 -   both i and ii
13. Each person - b 
14. What is age of dinesh - statements 1 and 2 
15. Dhruv - 2


Program:

# Print till First Non-Alphabet (Id-5662)
s=input().strip()
i=0
while(i<len(s)):
    if(s[i].isalpha()):
        print(s[i],end="")
    else:
        break
    i+=1

# Print VIBGYOR (Id-5663)

s=input().strip()
if(s=="V"):
    print("Violet")
elif(s=="I"):
    print("Indigo")
elif(s=="B"):
    print("Blue")
elif(s=="G"):
    print("Green")
elif(s=="Y"):
    print("Yellow")
elif(s=="O"):
    print("Orange")
elif(s=="R"):
    print("Red")
else:
    print("Invalid")
    
# Unit Digit from 1 to 5 (Id-5664)

n=int(input())
if(1<=n%10<=5):
    print("YES")
else:
    print("NO")
    
# Sum Greater than 50 (Id-5666)

a,b=map(int,input().split())
if(a+b>50):
    print("YES")
else:
    print("NO")


# Check if 2 or 3 digit
a=int(input()) 
If (a>9 and a<100) or (a>99 and a<1000): 
      Print("YES") 
else: 
      Print("NO")