2000 LSU Computer Science High School Programming Contest
Novice Problem 1: Divisibility (Judge Copy)

MAIN
  Home
  Schedule
  Rules
  Compile

PROBLEMS
  Novice
  Veteran
  All

  

Return to the Top of Page, 2000 Index Page, Novice Problem Set, or Veteran Problem Set.

Novice Problem 1: Divisibility (Judge Copy)

Many times it is useful to know what divisors a number has. You have been requested to help determine divisors for a bunch of numbers.

Common divisors that show up frequently are 2, 3, 4, 5, 6, 8, and 9. In fact, numbers that are divisible by at least 4 of these 7 divisors are considered easily divisible.

Your job is to read a series of numbers and determine if they are easy.

Input

Input will consist of one positive integer per line. You continue should processing until you encounter a 0.

Output

You are to output each number and tell if it is easy (see the sample output below). Spacing is not significant. There must be at least one space between each number/word. Each line of input should generate one line of output.

Sample Input

24
17
30
36

Sample Output

24 is easy.
17 is not easy.
30 is easy.
36 is easy.

Return to the Top of Page, 2000 Index Page, Novice Problem Set, or Veteran Problem Set.

Test Data 0

24
17
30
36
0

Return to the Top of Page, 2000 Index Page, Novice Problem Set, or Veteran Problem Set.

Output for Test Data 0

24 is easy.

17 is not easy.

30 is easy.

36 is easy.


Return to the Top of Page, 2000 Index Page, Novice Problem Set, or Veteran Problem Set.

Test Data 1

3
56
51
36
89
100
0

Return to the Top of Page, 2000 Index Page, Novice Problem Set, or Veteran Problem Set.

Output for Test Data 1

3 is not easy.

56 is not easy.

51 is not easy.

36 is easy.

89 is not easy.

100 is not easy.


Return to the Top of Page, 2000 Index Page, Novice Problem Set, or Veteran Problem Set.

Test Data 2

1
99
18
22
31
48
0

Return to the Top of Page, 2000 Index Page, Novice Problem Set, or Veteran Problem Set.

Output for Test Data 2

1 is not easy.

99 is not easy.

18 is easy.

22 is not easy.

31 is not easy.

48 is easy.


Return to the Top of Page, 2000 Index Page, Novice Problem Set, or Veteran Problem Set.

Test Data 3

91
93
81
48
64
28
96
0

Return to the Top of Page, 2000 Index Page, Novice Problem Set, or Veteran Problem Set.

Output for Test Data 3

91 is not easy.

93 is not easy.

81 is not easy.

48 is easy.

64 is not easy.

28 is not easy.

96 is easy.


Return to the Top of Page, 2000 Index Page, Novice Problem Set, or Veteran Problem Set.



The statements and opinions included in these pages are those of the LSU Computer Science High School Programming Contest Staff only. Any statements and opinions included in these pages are not those of Louisiana State University or the LSU Board of Supervisors.

© 2000 LSU Computer Science High School Programming Contest

This page last updated Fri Feb 11 21:55:29 2000.