#include <stdio.h>
unsigned int convert_to_base(int n, int p){
int x = 1;
int power_of_10 = 1;
while (n > 0){
for (int i = 1;i < x;i++){
power_of_10 = power_of_10 * 10;
{
x++
int last = n % p;
int digit = last * power_of_10;
n = n / p;
}
}
int main() { return 0; }