Basic programming, conditionals
Given two integers S and H you need to output “Shinchan” if S > H or “Himawari” otherwise.
According to the given conditions, Shinchan can only win when S is greater than H. In any other case, Himawari is the winner.
We can simply check if S is greater than H or not. If S > H, then we output “Shinchan”(without quotes) else (i.e. when S <= H), we output “Himawari”(without quotes).
The time complexity is O(T).