dice = int(input()) probability = 1 / dice print(probability)