what wrong with this?
import java.util.Scanner;
public class mid2 {
public static void main(String[] args) {
int a;
int m;
boolean jv=true;
Scanner sc=new Scanner (System.in);
System.out.println("Programmed by: Jesus Vinson J. Dominguez:");
System.out.println("Pls type number:");
a=sc.nextInt();
System.out.println("Pls type another number:");
m=sc.nextInt();
int gcf=1;
int k=2;
while (k=<a && k<=m){
if (a % k==0 && m%==0)
gcf=k;
k++;
}
System.out.println("Greates Common factor:"+gcf);
}
}