# Original Paxa practice. Test mode makes each branch reproducible.
import random

def station_message(number):
    if number == 1:
        return "Sketch a robot"
    elif number == 2:
        return "Invent a puzzle"
    elif number == 3:
        return "Trace an algorithm"
    elif number == 4:
        return "Explain a test"
    return "Unknown station"

print("Enter test or random. In test mode, enter a station number next.")
mode = input().strip().lower()
if mode == "test":
    choice = int(input())
    print("Station:", choice)
    print(station_message(choice))
elif mode == "random":
    choice = random.randint(1, 4)
    print("Station:", choice)
    print(station_message(choice))
else:
    print("Mode must be test or random.")
