#C9070. Group Integers into Categories

    ID: 53123 Type: Default 1000ms 256MiB

Group Integers into Categories

Group Integers into Categories

You are given an integer \( N \) and a list of \( N \) integers. Your task is to group these integers into three categories according to the following rules:

  • \( \textbf{Group 1} \): Contains all integers strictly greater than \( 10 \).
  • \( \textbf{Group 2} \): Contains all integers in the range \( [1, 10] \) (inclusive).
  • \( \textbf{Group 3} \): Contains all integers less than \( 1 \).

You need to output the results in the form of a dictionary with keys 'Group 1', 'Group 2', and 'Group 3' where the corresponding values are lists of integers that preserve the order of their appearance in the input.

Note: The output should be printed exactly as shown in the examples.

inputFormat

The first line contains an integer \( N \) representing the number of elements in the list. The second line contains \( N \) space-separated integers.

outputFormat

Print a dictionary-like string in the format: {'Group 1': [elements], 'Group 2': [elements], 'Group 3': [elements]}. The elements in each list should appear in the order they appear in the input.

## sample
6
15 9 4 11 -3 0
{'Group 1': [15, 11], 'Group 2': [9, 4], 'Group 3': [-3, 0]}