pbinfo | varena | campion | timus | codeforces | atcoder |
#include <iostream> using namespace std; int main(){ int L, S, V ; cin>>L; S=L*L*6; V=L*L*L; cout <<S<<" "<<V; return 0; }