#include #include #include #include #include using namespace std; int cells = 1; int grow(int a, int t) { while(t>0) {t--; cells = cells*(a); } return cells; } int main() { int a,b,t; cin>>a>>b>>t; cout<