---
# System prepended metadata

title: Bài thực h

---

# Bài thực h
```
Bài 1:
a = float(input())
b = float(input())
c = float(input())
d = float(input())
if (b < c ) | (d < a):
    print('YES')
else:
    print('NO')

Bài 2:
a = int(input())
b = int(input())
if a > b:
    print(a)
else:
    print(b)

Bài 3:
a = int(input())
b = int(input())
c = int(input())
mx = a
if mx < b:
    mx = b
if mx < c:
    mx = c
print(mx)

Bài 4:
p = int(input())
q = int(input())
r = int(input())
if q / p == r / q:
    print('YES')
else:
    print('NO')

Bài 5:
m = int(input())
n = int(input())
k = int(input())
x = m * n * k
if x >= 100 and x % 10 == 0:
    print('YES')
else:
    print('NO')

Bài 6:
N = int(input())
if (N % 400 == 0 or N % 4 == 0) and (N % 100 != 0):
    print(366)
else:
    print(365)

Bài 7:
M = int(input())
N = int(input())
if (N % 400 == 0 or N % 4 == 0) and (N % 100 != 0):
    if M == 2:
        print(29)
    elif M == 4 or M == 6 or M == 9 or M == 11:
        print(30)
    else:
        print(31)
else:
    if M == 2:
        print(28)
    elif M == 4 or M == 6 or M == 9 or M == 11:
        print(30)
    else:
        print(31)

Bài 8:
c = input()
if (c >= 'a' and c <= 'z') or (c >= 'A' and c <= 'Z'):\
    print('YES')
else:
    print('NO')

Bài 9:
a = float(input())
b = float(input())
c = float(input())

if a*a==b*b+c*c or b*b==a*a+c*c or c*c==a*a+b*b:
    print('VUONG')
elif a==b and b==c:
    print('DEU')
elif a==b or a==c or b==c:
    print('CAN')
else:
    print('THUONG')
```
Châm ngu
