The outlet and plug type used in Japan are A and B and in Hungary are C and F. This is how they look like.
In Hungary, outlets of type C and F are in use.
In Japan, outlets of type A and B are in use.