#include <iostream>
using namespace std;

int main() {
	// your code goes here
	
	int i;
    i = 382;
	
	cout.fill( '0' );    
    cout.width( 4 );
    cout << i;
	
	return 0;
}