# Untitled

unknown
python
a year ago
1.5 kB
89
Indexable
Never
```# lst = [3, 2, 4, 6, 11, 7, 8]
# lst = [2, 2, 4, 6, 12, 10, 8]
# lst = [2, 2, -3, 6, -12, 10, -1]

# lst = input("Nhap vao mot day so: ")
# lst = lst.split()
# lst = map(int, lst)
# lst = list(lst)

lst = list(map(int, input("Nhap vao mot day so: ").split()))

kq = 0
for a in lst:
if a%2 != 0:
if kq == 0:
kq = a
elif a > kq:
kq = a

# # for a in lst:
# # 	if a%2 != 0:
# # 		if a > kq:
# # 			kq = a

if kq == 0:
print("Khong co so le nao")
else:
print("So le lon nhat la", kq)

# sum = 0
# for a in lst:
# 	if a%2 == 0:
# 		sum = sum + a
# print(sum)

# for(initialization; condition; changes)
# 	statement(s)

# for(i = 0; i < 10; i++)
# 	sum = sum + i;

# for(i = 0, j = 9; i < j; i++, j--)
# 	s = s + i - j;

# # a = float(input("Nhap vao mot so: "))
# # print(type(a))

# # a = 12
# # b = 13.4
# # c = "hello"

# # print(type(a), type(b), type(c))

# # a = int(input("Nhap so a: "))
# # b = int(input("Nhap so b: "))

# # c = a + b

# # print(c)

# num = int(input("Nhap so n: "))

# if num > 0:
# 	# print(f"{num} la so duong")
# 	print(num, "la so duong")
# elif num == 0:
# 	print(num, "la so 0")
# else:
# 	print(num, "la so am")
# # ====================================
# if num > 0:
# 	print(num, "la so duong")
# else:
# 	if num == 0:
# 		print(num, "la so 0")
# 	else:
# 		print(num, "la so am")
# # ====================================
# if num >= 0:
# 	if num > 0:
# 		print(num, "la so duong")
# 	else:
# 		print(num, "la so 0")
# else:
# 	print(num, "la so am")
```