def is_prime(n):
"""Checks if a number is prime."""
if n <= 1:
return False
for i in range(2, int(n**0.5) + 1):
if n % i == 0:
return False
return True
prime_sum = 0
count = 0
num = 2
while count < 200:
if is_prime(num):
prime_sum += num
count += 1
num += 1
print("The sum of the first 200 prime numbers is:", prime_sum)
ZGVmIGlzX3ByaW1lKG4pOgogICIiIkNoZWNrcyBpZiBhIG51bWJlciBpcyBwcmltZS4iIiIKICBpZiBuIDw9IDE6CiAgICByZXR1cm4gRmFsc2UKICBmb3IgaSBpbiByYW5nZSgyLCBpbnQobioqMC41KSArIDEpOgogICAgaWYgbiAlIGkgPT0gMDoKICAgICAgcmV0dXJuIEZhbHNlCiAgcmV0dXJuIFRydWUKCnByaW1lX3N1bSA9IDAKY291bnQgPSAwCm51bSA9IDIKCndoaWxlIGNvdW50IDwgMjAwOgogIGlmIGlzX3ByaW1lKG51bSk6CiAgICBwcmltZV9zdW0gKz0gbnVtCiAgICBjb3VudCArPSAxCiAgbnVtICs9IDEKCnByaW50KCJUaGUgc3VtIG9mIHRoZSBmaXJzdCAyMDAgcHJpbWUgbnVtYmVycyBpczoiLCBwcmltZV9zdW0pIA==