Input: JAB

Output: N