#include <iostream>
using namespace std;
void solve(){
const double PI = 3.14;
double r;
cin >> r;
cout << "Perimetr = " << 2 * PI * r << "\n";
cout << "Square = " << PI * r * r;
}
signed main(){
solve();
#include <iostream>
using namespace std;
void solve(){
const double PI = 3.14;
double r;
cin >> r;
cout << "Perimetr = " << 2 * PI * r << "\n";
cout << "Square = " << PI * r * r;
}
signed main(){
solve();
}