import sys sys.setrecursionlimit(1000000000) # # Solution Template for TeleTrip # # Australian Informatics Olympiad 2023 # # This file is provided to assist with reading of input and writing of output # for the problem. You may modify this file however you wish, or # you may choose not to use this file at all. # # N is the number of instructions. N = 0 # instructions contains the sequence of instructions. instructions = "" # Read the value of N and the instructions. N = int(input().strip()) instructions = input().strip() # TODO: This is where you should compute your solution. Store the number of # different farmhouses that you visit into the variable answer. answer = 0 # Write the answer. print(answer)