minute = int(input())
print(minute*60)