let x = readLine stdin case x[2] of '2': echo 4 of '3': echo 1 else: echo 14