#P2394. Hydrogen Production from Sodium

    ID: 15665 Type: Default 1000ms 256MiB

Hydrogen Production from Sodium

Hydrogen Production from Sodium

When a piece of sodium weighing \(x\ \text{g}\) is dropped into an excess of water, it completely dissolves, and all the hydrogen produced is collected. It is known that for every \(23\) grams of sodium, \(1\) gram of hydrogen is produced. Given \(x\) grams of sodium, calculate the mass of hydrogen generated.

Formal Problem Statement: Given a real number \(x\), output the value of \(\frac{x}{23}\) rounded to 8 decimal places using standard rounding (round half up).

inputFormat

The input consists of a single real number \(x\) representing the mass of sodium in grams.

Example:
23

outputFormat

Output the mass of hydrogen produced, which is \(\frac{x}{23}\), rounded to 8 decimal places.

Example:
1.00000000

sample

23
1.00000000