#K55492. Honey Production Analysis

    ID: 29987 Type: Default 1000ms 256MiB

Honey Production Analysis

Honey Production Analysis

This problem involves analyzing honey production in a beehive. You are given four integers: W, P, D, and H, where:

  • W is the number of worker bees.
  • P is the honey production rate per worker bee per day.
  • D is the number of drone bees.
  • H is the honey consumption rate per drone bee per day.

The total honey production is given by \(W \times P\) and the total honey consumption is \(D \times H\). Your task is to determine whether the hive experiences a net gain, a net loss, or a balanced state.

Output: Output a single line:

  • Net Gain if \(W \times P > D \times H\),
  • Net Loss if \(W \times P < D \times H\),
  • Balanced if \(W \times P = D \times H\).

inputFormat

The input consists of a single line containing four space-separated integers: W, P, D, and H.

outputFormat

Print one of the following strings on a single line: Net Gain, Net Loss, or Balanced.

## sample
10 5 4 10
Net Gain