Almost Prime Codeforces- segmentation error

@Mansi2103
in for loop instead of ā€˜i’ use ā€˜j’