smoothie-web Problems Contests Ranking About

# BSSPC '20 J2

James cares a lot about how he is doing in school, and wants to see how has his past performance been. We have been provided with his past scores. If:

• there are five consecutive marks which form a strictly increasing sequence (a sequence such that each number is greater than, not equal to, the last, such as 85, 87, 91, 96, 100), we conclude that James is smurfing
• there are five consecutive marks which form a strictly decreasing sequence (a sequence such that each number is less than, not equal to, the last, such as 100, 99, 98, 97, 60), we conclude that James is inting
• there are five consecutive marks which are identical (such as 100, 100, 100, 100, 100), we conclude that James is stable
• there are no pattern that forms, we conclude that James is fluctuating

## Input

the input will be five positive integers, being his mark on one of his past assignments, each on its own line of input.

## Output

Output the pattern that James is showing, either James is smurfing, James is inting, James is stable, or James is fluctuating

## Sample Input

100
100
100
100
100


## Sample Output

James is stable


## Sample Input

100
77
86
98
92


## Sample Output

James is fluctuating