def main(): n = int(input()) expected_value = (1 + 2 + 3 + 4 + 5 + 6) / 6 print(n * expected_value) if __name__ == "__main__": main()