# On a piano, a key has a frequency say f0. Each higher key has a frequency of f0 *r**n
# where n is the distance (number of keys) from that key m and r is (1/12).
# Given an initial key frquency, output that frequency and the next 3 higher key frequencies.
#Output each floating-point value with two digits after the initial decimal point, then the units ("Hz"), then a newline, using the following statement:
#print (f'{your_value:.2f} Hz')
import math
f0 = int(input())
#Calculate the distance keys
r = (1/12)
# calculate the first key
value_0 = f0
value_1 = f0 * r
value_2 = f0 * r ** 2
value_3 = f0 * r ** 3
print(f'{value_0} Hz')
print(f'{value_1} Hz')
print(f'{value_2} Hz')
print(f'{value_3} Hz')
To embed this project on your website, copy the following code and paste it into your website's HTML: