#C14841. Point in Sphere Determination

    ID: 44535 Type: Default 1000ms 256MiB

Point in Sphere Determination

Point in Sphere Determination

You are given a point in 3-dimensional space with coordinates \(x\), \(y\), \(z\) and a positive radius \(r\). Your task is to determine if the point lies inside or on a sphere centered at the origin. The mathematical criterion for this is:

\(x^2 + y^2 + z^2 \le r^2\)

If the condition holds, print True, otherwise print False.

inputFormat

The input is given from stdin as a single line containing four space-separated numbers: \(x\), \(y\), \(z\), and \(r\), where \(r\) is guaranteed to be a positive number.

outputFormat

Output to stdout a single line: True if the point is inside or on the sphere, and False otherwise.

## sample
1 1 1 3
True