// {
// System.out.print(arr[j] + " ");
// }
// // starting number of each row increases by 1 cuz j starts at i (i++)
// for(j=0; j<i; j++)
// {
// System.out.print(arr[j] + " ");
// }
// // the remaining numbers of arr except i (max index as i)
// System.out.println("");
// // new line printing
// }
// }
//}
/*
not writing for(j=0; j<i; j++) and arr[j] print results in:
1 2 3 4 5
2 3 4 5
3 4 5
4 5
5
*/
//// 1407
//import java.util.Scanner;
//public class Main
//{
// public static void main(String[] args)
// {
// Scanner input = new Scanner(System.in);
// String a = input.nextLine();
// for(int i=0; i<a.length(); i++)
// {
// // a[i] => a.charAt(i)
// // because String is a class, it needs method.
// if(a.charAt(i)!= ' ')
// {
// System.out.print(a.charAt(i));
// }
// }
//
// }
//}
//// 1409
//import java.util.Scanner;
//public class Main
//{
// public static void main(String[] args)
// {
// Scanner input = new Scanner(System.in);
// int i;
// int[] num = new int[10];
// int a;
// int k;
// for(i=0; i<10; i++)
// {
// a = input.nextInt();
// num[i] = a;
// }
// k = input.nextInt();
// System.out.print(num[k-1]);
// }
//}
//// 1410
//
//import java.util.Scanner;
//
//public class Main
//{
// public static void main(String[] args)
// {
// Scanner input = new Scanner(System.in);
// String paren = input.nextLine();
// int open = 0;
// int closed = 0;
// int i;
// for(i=0; i<paren.length(); i++)
// {
// if(paren.charAt(i) == '(')
// {
// open += 1;
// }
// else if(paren.charAt(i) == ')')
// {
// closed += 1;
// }
// }
// System.out.print(open + " " + closed);
// }
//}
//// 1411
//import java.util.Scanner;
//
//public class Main
//{
// public static void main(String[] args)
// {
// Scanner input = new Scanner(System.in);
// int n = input.nextInt();
// int i;
// int a;
// int[] num = new int[51];
// for(i=0; i<n-1; i++)
// {
// a = input.nextInt();
// num[a] = 1;
// }
// for(i=1; i<=n; i++)
// {
// if(num[i] != 1)
// {
// System.out.print(i);
// break;
// }
// }
// }
//}
// 1412
/*
* a+=1 python
*
* a++ java
*
* arr[x.charAt(i)]++;
* arr[97] arr[98] ..... arr[122]
* 'a'갯수 'b'갯수 .... 'z'갯수
*
* same thing but easier to understand:
* (-'a' takes away the 97 => results in starting number 0)
*
* arr[x.charAt(i)-'a']++;
* arr[0] arr[1] ... arr[25]
* 'a'갯수 'b'갯수 ... 'z'갯수
*/
//// 1412 HARD QUESTION!!!!!!!!!!!!!!!!!!!
//import java.util.Scanner;
//public class Main
//{
// public static void main(String[] args)
// {
// int[] arr = new int[100];
// int i;
// Scanner input = new Scanner(System.in);
// String x = input.nextLine();
// for(i=0; i<x.length(); i++)
// {
// if('a'<=x.charAt(i)&& x.charAt(i)<123)
// // only add 1 to array if the x index's an alphabet (ascii alphabet code)
// {
// arr[x.charAt(i)-'a']++; // starts at x[0], ++ basically
// }
// }
// for(i=97; i<123; i++)
// System.out.println((char)(i) + ":" + arr[i-97]);
// // turns i into ascii alphabet + ":" + saved number in arr (starts from 0)
// }
//}
'''
'''
import sys
from PyQt5.QtWidgets import QApplication, QMainWindow, QAction, qApp
from PyQt5.QtGui import QIcon
class MyApp(QMainWindow):
def __init__(self):
super().__init__()
self.initUI()
def initUI(self):
exitAction = QAction(QIcon('exit.png'), 'Exit', self)
exitAction.setShortcut('Ctrl+Q')
exitAction.setStatusTip('Exit application')
exitAction.triggered.connect(qApp.quit)
self.statusBar()
menubar = self.menuBar()
menubar.setNativeMenuBar(False)
filemenu = menubar.addMenu('&File')
filemenu.addAction(exitAction)
self.setWindowTitle('Menubar')
self.setGeometry(300, 300, 300, 200)
self.show()
if __name__ == '__main__':
app = QApplication(sys.argv)
ex = MyApp()
sys.exit(app.exec_())
'''
#
# import sys
# from PyQt5.QtWidgets import QApplication, QWidget
#
#
# class MyApp(QWidget):
#
# def __init__(self):
# super().__init__()
# self.initUI()
#
# def initUI(self):
# self.setWindowTitle('My First Application')
# self.move(500, 300) # 창이 뜨는 위치 변경
# self.resize(400, 500) # 창 크기 변경
# self.show()
#
#
# if __name__ == '__main__':
# app = QApplication(sys.argv)
# ex = MyApp()
# sys.exit(app.exec_())
# import sys
# from PyQt5.QtWidgets import QApplication, QWidget, QLabel,QPushButton, QVBoxLayout
# from PyQt5.QtCore import Qt
#
# class MyApp(QWidget):
#
# def __init__(self):
# super().__init__()
# self.initUI()
#
# def initUI(self):
# btn1 = QPushButton('&Button1', self)
#
# label1 = QLabel('First Label', self)
# label1.setAlignment(Qt.AlignCenter)
#
#
# vbox = QVBoxLayout()
# vbox.addWidget(btn1)
# vbox.addWidget(label1)
#
# self.setLayout(vbox)
# self.setGeometry(300, 300, 300, 200)
# self.show()
#
#
# if __name__ == '__main__':
# app = QApplication(sys.argv)
# ex = MyApp()
# sys.exit(app.exec_())
# import sys
# from PyQt5.QtWidgets import (QApplication, QWidget
# , QLCDNumber, QDial, QPushButton, QVBoxLayout, QHBoxLayout)
#
#
# class MyApp(QWidget):
#
# def __init__(self):
# super().__init__()
# self.initUI()
#
# def initUI(self):
# lcd = QLCDNumber(self)
# dial = QDial(self)
# btn1 = QPushButton('Big', self)
# btn2 = QPushButton('Small', self)
#
# hbox = QHBoxLayout()
# hbox.addWidget(btn1)
# hbox.addWidget(btn2)
#
# vbox = QVBoxLayout()
# vbox.addWidget(lcd)
# vbox.addWidget(dial)
# vbox.addLayout(hbox)
# self.setLayout(vbox)
#
# dial.valueChanged.connect(lcd.display)
# btn1.clicked.connect(self.resizeBig)
# btn2.clicked.connect(self.resizeSmall)
#
# self.setWindowTitle('Signal and Slot')
# self.setGeometry(200, 200, 200, 250)
# self.show()
#
# def resizeBig(self):
# self.resize(100, 500)
#
# def resizeSmall(self):
# self.resize(200, 250)
#
#
# if __name__ == '__main__':
# app = QApplication(sys.argv)
# ex = MyApp()
# sys.exit(app.exec_())
import math
a=int(input())